Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

error: 'execution reverted',

Open
#73 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript
Domain
api, blockchain

Research direction

Start by reproducing the eth_callBundle simulation with the shown transaction object and inspect the contract call data and revert response. Trace the target contract at 0x35e456AE04D641F2c13c52C7e637645CE92c293c and compare its expected sender, nonce, gas, and payload with the signed transaction. Done means the revert cause is identified or the issue is clarified with the missing contract context.

Written by the indexing model from the issue text.

Description

When I construct a transaction, the transaction is to send a data to my personal contract through my account. Then simulate this transaction through the eth_callBundle method of flashbots, but the response I received shows an error, so I would like to ask you to help solve the problem, or point out the reason for the error, thank you for your help.
Below is my code and error message。

 const Tx = {
    to: my_contract.address,
    from: Wallet.address,
    data: Payload,
    chainId: 1,
    maxPriorityFeePerGas: 0,
    maxFeePerGas: nextBaseFee,
    gasLimit: 250000,
    nonce: nonce + 1,
    type: 2,
  };
  console.log(Tx);
  const TxSigned = await Wallet.signTransaction(Tx);
  const signedTxs = [TxSigned];
  const simulatedResp = await callBundleFlashbots(signedTxs, targetBlockNumber);

the response is :

simulatedResp {
  bundleGasPrice: '816000544',
  bundleHash: '0x6114e885fcf513af79cdcd72ba3192eff297fc58772f6681b022a83594fbca43',
  coinbaseDiff: '128523349703840',
  ethSentToCoinbase: '0',
  gasFees: '128523349703840',
  results: [
    {
      coinbaseDiff: '0',
      error: 'execution reverted',
      ethSentToCoinbase: '0',
      fromAddress: '0x446E90CDd028cBDf8aCcd47C2C3AD50F585C2e15',
      gasFees: '0',
      gasPrice: '0',
      gasUsed: 28155,
      revert: '\x00\x00\x00',
      toAddress: '0x35e456AE04D641F2c13c52C7e637645CE92c293c',
      txHash: '0xe78add5bc73e08ad291b8eafb77cff3b8f900264edf54e619fdb7a84eebd4d3c'
    }
 ]
}
Dominant language
TypeScript
Stars
567
Forks
211
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from flashbots/ethers-provider-flashbots-bundle

All issues in flashbots/ethers-provider-flashbots-bundle

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.