error: 'execution reverted',
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from flashbots/ethers-provider-flashbots-bundle
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
flashbots/ethers-provider-flashbots-bundle#131 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
flashbots/ethers-provider-flashbots-bundle#128 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 30/100
flashbots/ethers-provider-flashbots-bundle#127 · 3 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
flashbots/ethers-provider-flashbots-bundle#124 · 1 comment ·
All issues in flashbots/ethers-provider-flashbots-bundle
Similar issues
-
Difficulty 2/5 Under an hour Newbie friendliness 85/100
capricorn86/happy-dom#2474 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
JSerwatka/letterboxd-tweaks#81 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
siyuan-note/siyuan#20165 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
polkadot-js/phishing#5716 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
juice-shop/juice-shop#3662 ·
Maintainers usually reply within 1 day