Uncaught aggregator error when submitting a bundle with invalid contract address
See original GitHub issueSteps to Reproduce
Construct a bundle where one of the actions has a contractAddress
of 0x
.
const bundle = wallet.sign({
nonce: await wallet.Nonce(),
actions: [{
ethValue: ethers.utils.parseEther("1"),
contractAddress: "0x",
encodedFunction: "0x",
}],
});
Then submit the bundle to an aggregator
Expected Result
- Aggregator rejects the bundle for being invalid (HTTP 400) or
- Aggregator fails bundle and does not include it
Actual result
Aggregator crashes due to uncaught exception. This persists between restarts
Severity
A malicious or unknowing user could DoS an aggregator instance(s)
Issue Analytics
- State:
- Created 9 months ago
- Comments:6
Top Results From Across the Web
Uncaught (in promise) Error: invalid address - Stack Overflow
The error shows that you didn't set the address property correctly, it's may be the issue with your solidity implementation and it's not ......
Read more >Jacob Caban-Tomski jacque006 - GitHub
Uncaught aggregator error when submitting a bundle with invalid contract address. Steps to Reproduce Construct a bundle where one of the actions has...
Read more >NetSuite Applications Suite - Oracle Help Center
... Reference My Account Generates Error on Load · Error Loading Shopping Page Due to Uncaught TypeError · Users Redirected to Checkout Application...
Read more >Web service error codes (Microsoft Dataverse) - Power Apps
The following list shows the error codes used in Dataverse. ... Message: The bill-to address of the contract is invalid. 0x80043210
Read more >Chapter 9. Issues Resolved in Fuse 7.0
Karaf child instance can't find jolokia-access.xml file ... karaf-maven-plugin does not prefix non-bundles with the wrap: prefix when generating a feature.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@thearyanag done, let us know if you have any questions or need help working on this. Thanks for picking it up!
High level overview: https://github.com/web3well/bls-wallet/blob/main/docs/system_overview.md Local repo/project setup instructions: https://github.com/web3well/bls-wallet/blob/main/docs/local_development.md Example of how to send a transaction: https://github.com/web3well/bls-wallet/blob/main/docs/use_bls_wallet_clients.md#send-a-transaction
Main thing to reproduce is setting
contractAddress: "0x"
in an action and submitting to an aggregator. The fix will likely be in aggregator code or in client.