diff --git a/cadence/scripts/bridge/get_gas_limit.cdc b/cadence/scripts/bridge/get_gas_limit.cdc index 42610d5d..be2aff46 100644 --- a/cadence/scripts/bridge/get_gas_limit.cdc +++ b/cadence/scripts/bridge/get_gas_limit.cdc @@ -1,5 +1,9 @@ import "FlowEVMBridgeConfig" +/// Returns the gas limit for the Flow-EVM bridge. +/// +/// @returns The current gas limit shared by all the bridge-related EVM operations. +/// access(all) fun main(): UInt64 { return FlowEVMBridgeConfig.gasLimit diff --git a/cadence/tests/flow_evm_bridge_tests.cdc b/cadence/tests/flow_evm_bridge_tests.cdc index 647bd49e..fcb9315c 100644 --- a/cadence/tests/flow_evm_bridge_tests.cdc +++ b/cadence/tests/flow_evm_bridge_tests.cdc @@ -7,7 +7,6 @@ import "ExampleNFT" import "ExampleToken" import "FlowStorageFees" import "EVM" -import "FlowEVMBridgeConfig" import "test_helpers.cdc"