From 0ce5fdd4def146dfe44030ee83938147e018e79f Mon Sep 17 00:00:00 2001 From: Giovanni Sanchez <108043524+sisyphusSmiling@users.noreply.github.com> Date: Thu, 19 Dec 2024 16:17:24 -0800 Subject: [PATCH] remove CadenceBlocklist initialization from FlowEVMBridgeConfig --- cadence/contracts/bridge/FlowEVMBridgeConfig.cdc | 9 --------- 1 file changed, 9 deletions(-) diff --git a/cadence/contracts/bridge/FlowEVMBridgeConfig.cdc b/cadence/contracts/bridge/FlowEVMBridgeConfig.cdc index 0fec0cc9..6a33d76d 100644 --- a/cadence/contracts/bridge/FlowEVMBridgeConfig.cdc +++ b/cadence/contracts/bridge/FlowEVMBridgeConfig.cdc @@ -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 {