-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trades on Base Network failing #8190
Comments
|
This logic works fine on other chains so assuming we respond with and/or call with wrong geth params somewhere in unchained land (48 instead of 50) https://github.com/ethereum/go-ethereum/blob/b4d99e39176f89bb0ffbb32635e9cf17b5fd7367/core/txpool/validation.go#L120
i.e this guy is effectively The min is defined as Just gave a try to a ugly monkey patch to triple check the the min gas tip issue is coming from the node and us parametrizing things doesn't change anything and we get the exact same error diff --git a/packages/chain-adapters/src/evm/base/BaseChainAdapter.ts b/packages/chain-adapters/src/evm/base/BaseChainAdapter.ts
index 5127770f95..4d3e3c6e20 100644
--- a/packages/chain-adapters/src/evm/base/BaseChainAdapter.ts
+++ b/packages/chain-adapters/src/evm/base/BaseChainAdapter.ts
@@ -83,0 +84,6 @@ export class ChainAdapter extends EvmBaseAdapter<KnownChainIds.BaseMainnet> {
+ const maxPriorityFeePerGas = fast.maxPriorityFeePerGas
+ ? BigNumber.min(48, fast.maxPriorityFeePerGas).toFixed(0)
+ : undefined
+
@@ -91 +97 @@ export class ChainAdapter extends EvmBaseAdapter<KnownChainIds.BaseMainnet> {
- chainSpecific: { gasLimit, l1GasLimit, ...fast },
+ chainSpecific: { gasLimit, l1GasLimit, ...fast, maxPriorityFeePerGas },
@@ -99 +105 @@ export class ChainAdapter extends EvmBaseAdapter<KnownChainIds.BaseMainnet> {
- chainSpecific: { gasLimit, l1GasLimit, ...average },
+ chainSpecific: { gasLimit, l1GasLimit, ...average, maxPriorityFeePerGas },
@@ -107 +113 @@ export class ChainAdapter extends EvmBaseAdapter<KnownChainIds.BaseMainnet> {
- chainSpecific: { gasLimit, l1GasLimit, ...slow },
+ chainSpecific: { gasLimit, l1GasLimit, ...slow, maxPriorityFeePerGas }, |
@kaladinlight not sure if that helps but FYI I'm now able to broadcast BASE approval Txs and trade Txs (seemingly), although actual trade Txs seem stuck in the mempool somehow https://basescan.org/tx/0xe46c5d808cf3aba3de3668f849a69371b301e62c72608b2e40dee01e62d29be7 |
Overview
Attempting to trade on Base network is giving 500 server errors in console
References and additional details
Attempting a trade with approval 1:
https://jam.dev/c/c5279777-8c46-42a9-a24a-b87a4846ceb8
Attempting trade - the approval disappeared after the transaction finishes and the trade spits out a dud txid - also shows protocol as $2.62M . trade never completed
https://jam.dev/c/a26bb9f3-c3b2-4e5f-be0e-faf0eea0e35f
Acceptance Criteria
Should be able to trade on base
Need By Date
No response
Screenshots/Mockups
No response
Ownership
Estimated effort
No response
Sponsor / Stakeholder
No response
Bounty Hunters
The text was updated successfully, but these errors were encountered: