Skip to content
This repository has been archived by the owner on Jun 29, 2023. It is now read-only.

Bug: Unhandled Promise rejection when bidding on proposer slot #612

Closed
jacque006 opened this issue Jun 22, 2021 · 1 comment · Fixed by #618
Closed

Bug: Unhandled Promise rejection when bidding on proposer slot #612

jacque006 opened this issue Jun 22, 2021 · 1 comment · Fixed by #618
Assignees
Labels
client This PR is about implementing the client p2

Comments

@jacque006
Copy link
Collaborator

block 1344      Slot progress   9/10
block 1345      Slot progress   0/10
New slot 128
Auctioning slot coordinator 0x0000000000000000000000000000000000000000 0.0 ETH
Bid 0.000000000000000001 ETH
(node:15276) UnhandledPromiseRejectionWarning: Error: invalid BigNumber value (argument="value", value=null, code=INVALID_ARGUMENT, version=bignumber/5.3.0)
    at Logger.makeError (/root/hubble/hubble-contracts/node_modules/@ethersproject/logger/src.ts/index.ts:213:28)
    at Logger.throwError (/root/hubble/hubble-contracts/node_modules/@ethersproject/logger/src.ts/index.ts:225:20)
    at Logger.throwArgumentError (/root/hubble/hubble-contracts/node_modules/@ethersproject/logger/src.ts/index.ts:229:21)
    at Function.BigNumber.from (/root/hubble/hubble-contracts/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts:291:23)
    at Formatter.bigNumber (/root/hubble/hubble-contracts/node_modules/@ethersproject/providers/src.ts/formatter.ts:183:26)
    at Function.Formatter.check (/root/hubble/hubble-contracts/node_modules/@ethersproject/providers/src.ts/formatter.ts:428:42)
    at Formatter.transactionResponse (/root/hubble/hubble-contracts/node_modules/@ethersproject/providers/src.ts/formatter.ts:324:55)
    at JsonRpcProvider.<anonymous> (/root/hubble/hubble-contracts/node_modules/@ethersproject/providers/src.ts/base-provider.ts:1412:39)
    at step (/root/hubble/hubble-contracts/node_modules/@ethersproject/providers/lib/base-provider.js:48:23)
    at Object.next (/root/hubble/hubble-contracts/node_modules/@ethersproject/providers/lib/base-provider.js:29:53)
(node:15276) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 19)
block 1346      Slot progress   1/10
@jacque006
Copy link
Collaborator Author

This is most likely due to geth adding EIP-1559 support in v1.10.4 and ethers.js not yet supporting it. Will wait on the release of ethers-io/ethers.js#1610 and re-test with new version.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
client This PR is about implementing the client p2
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant