Skip to content

Commit

Permalink
remove CadenceBlocklist initialization from FlowEVMBridgeConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
sisyphusSmiling committed Dec 20, 2024
1 parent 8765428 commit 0ce5fdd
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions cadence/contracts/bridge/FlowEVMBridgeConfig.cdc
Original file line number Diff line number Diff line change
Expand Up @@ -306,15 +306,6 @@ contract FlowEVMBridgeConfig {
}
}

access(all) fun initCadenceBlocklist() {
let cadenceBlocklistStoragePath = /storage/cadenceBlocklist
assert(
self.account.storage.type(at: cadenceBlocklistStoragePath) == nil,
message: "CadenceBlocklist already stored"
)
self.account.storage.save(<-create CadenceBlocklist(), to: cadenceBlocklistStoragePath)
}

/// CadenceBlocklist resource stores a mapping of Cadence Types that are blocked from onboarding to the bridge
///
access(all) resource CadenceBlocklist {
Expand Down

0 comments on commit 0ce5fdd

Please sign in to comment.