-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
EVMProblem occurs at the execution stage for EVMProblem occurs at the execution stage for EVMReleaseproject: Ethena
Description
A lot of tests in the project Ethena are failing with Invalid Transaction.
Steps to Reproduce
- Clone the repo
cd ethena-labsnpm i- Update
hardhat.config.tswith your binary paths - Nodes build: nodes-18323842311
- Harhat version -> "@parity/hardhat-polkadot": "0.2.0-pre2"
Terminal 1
RUST_LOG="info,eth-rpc=debug" ./bin/mac/eth-rpc --dev --node-rpc-url ws://localhost:9944Terminal 2
RUST_LOG="error,evm=debug,sc_rpc_server=info,runtime::revive=debug" ./bin/mac/revive-dev-node --devTerminal 3
npx hardhat test test/minting/tests/<test-file-name> --network localNode --grep "<test-name>"Logs
Test logs
ProviderError: Invalid Transaction
at HttpProvider.request (/Users/utkarshbhardwaj/Desktop/Projects/scc-testing/ethena-labs/node_modules/hardhat/src/internal/core/providers/http.ts:116:21)
at processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Promise.all (index 0)
at async HardhatEthersProvider.broadcastTransaction (/Users/utkarshbhardwaj/Desktop/Projects/scc-testing/ethena-labs/node_modules/@nomicfoundation/hardhat-ethers/src/internal/hardhat-ethers-provider.ts:275:33)
at async Wallet.sendTransaction (/Users/utkarshbhardwaj/Desktop/Projects/scc-testing/ethena-labs/node_modules/ethers/src.ts/providers/abstract-signer.ts:255:16)
at async send (/Users/utkarshbhardwaj/Desktop/Projects/scc-testing/ethena-labs/node_modules/ethers/src.ts/contract/contract.ts:313:20)
at async Proxy.mint (/Users/utkarshbhardwaj/Desktop/Projects/scc-testing/ethena-labs/node_modules/ethers/src.ts/contract/contract.ts:352:16)
at async Context.<anonymous> (/Users/utkarshbhardwaj/Desktop/Projects/scc-testing/ethena-labs/test/minting/tests/EthenaMinting.blockLimits.test.ts:212:24)eth-rpc logs
DEBUG tokio-runtime-worker eth-rpc: submit call failed: SubxtError(Rpc(ClientError(User(UserError { code: 1010, message: "Invalid Transaction", data: Some(RawValue("Inability to pay some fees (e.g. account balance too low)")) }))))revive-dev-node logs
DEBUG tokio-runtime-worker runtime::revive: Not enough gas supplied to cover base and len fee. eth_fee=9877240 fixed_fee=83108157000Tests failing with this error:
- EthenaMinting.blockLimits.test.ts/test_multiple_mints
- EthenaMinting.blockLimits.test.ts/test_fuzz_mint_maxMint_perBlock_exceeded_revert
- EthenaMinting.blockLimits.test.ts/test_fuzz_nextBlock_mint_is_zero
- EthenaMinting.blockLimits.test.ts/test_multiple_redeem
- EthenaMinting.blockLimits.test.ts/test_fuzz_maxRedeem_perBlock_exceeded_revert
- EthenaMinting.blockLimits.test.ts/test_fuzz_nextBlock_redeem_is_zero
- EthenaMinting.core.test.ts/test_redeem
- EthenaMinting.core.test.ts/test_redeem_invalidNonce_revert
- EthenaMinting.core.test.ts/test_sending_redeem_order_to_mint_revert
- EthenaMinting.WETH.test.ts/test_redeem
- EthenaMinting.WETH.test.ts/test_redeem_invalidNonce_revert
- EthenaMinting.WETH.test.ts/test_sending_redeem_order_to_mint_revert
- EthenaMinting.Delegate.test.ts/testDelegateSuccessfulRedeem
- EthenaMinting.Delegate.test.ts/testDelegateFailureRedeem
- EthenaMinting.ACL.test.ts/test_redeem_notRedeemer_revert
- EthenaMinting.ACL.test.ts/test_gatekeeper_cannot_enable_redeem_revert
- EthenaMinting.ACL.test.ts/test_admin_can_disable_redeem
- EthenaMinting.ACL.test.ts/test_admin_can_enable_redeem
Metadata
Metadata
Assignees
Labels
EVMProblem occurs at the execution stage for EVMProblem occurs at the execution stage for EVMReleaseproject: Ethena