From 2d632846aabd574c8c173d46fd2689dc4ef8690e Mon Sep 17 00:00:00 2001 From: Giovanni Sanchez <108043524+sisyphusSmiling@users.noreply.github.com> Date: Wed, 26 Jun 2024 10:59:57 -0600 Subject: [PATCH] add script comments --- cadence/scripts/bridge/get_gas_limit.cdc | 4 ++++ cadence/tests/flow_evm_bridge_tests.cdc | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) 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"