question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Uncaught aggregator error when submitting a bundle with invalid contract address

See original GitHub issue

Steps 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

image

Severity

A malicious or unknowing user could DoS an aggregator instance(s)

Issue Analytics

  • State:open
  • Created 9 months ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
jacque006commented, Dec 16, 2022

@thearyanag done, let us know if you have any questions or need help working on this. Thanks for picking it up!

0reactions
jacque006commented, Dec 23, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found