Skip to content

Commit

Permalink
generate and lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lumtis committed Nov 6, 2024
1 parent 10eb245 commit 0bccdc9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion e2e/e2etests/test_deposit_and_call_out_of_gas.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package e2etests

import (
"github.com/zeta-chain/node/e2e/contracts/testgasconsumer"
"math/big"

"github.com/stretchr/testify/require"
"github.com/zeta-chain/protocol-contracts/v2/pkg/gatewayevm.sol"

"github.com/zeta-chain/node/e2e/contracts/testgasconsumer"
"github.com/zeta-chain/node/e2e/runner"
"github.com/zeta-chain/node/e2e/utils"
crosschaintypes "github.com/zeta-chain/node/x/crosschain/types"
Expand All @@ -20,6 +20,7 @@ func TestDepositAndCallOutOfGas(r *runner.E2ERunner, args []string) {
require.True(r, ok, "Invalid amount specified for TestV2ETHDepositAndCall")

// Deploy the GasConsumer contract
//nolint:dogsled
gasConsumerAddress, _, _, _ := testgasconsumer.DeployTestGasConsumer(r.ZEVMAuth, r.ZEVMClient)

// perform the deposit and call to the GasConsumer contract
Expand Down
2 changes: 1 addition & 1 deletion x/fungible/keeper/v2_evm.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
)

// gatewayGasLimit is the gas limit for the gateway functions
var gatewayGasLimit *big.Int = nil // big.NewInt(1_000_000)
var gatewayGasLimit *big.Int // = big.NewInt(1_000_000)

// CallUpdateGatewayAddress calls the updateGatewayAddress function on the ZRC20 contract
// function updateGatewayAddress(address addr)
Expand Down

0 comments on commit 0bccdc9

Please sign in to comment.