Skip to content

Commit

Permalink
Espace 1559 (#1381)
Browse files Browse the repository at this point in the history
* fix: espace support 1559

* chore: update version
  • Loading branch information
angelia-yuqi-personal committed May 28, 2024
1 parent 487e933 commit 1e40282
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 13 deletions.
6 changes: 6 additions & 0 deletions .yarn/versions/aa00b5c3.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
releases:
"@fluent-wallet/eth_estimate-1559-fee": patch
"@fluent-wallet/eth_fee-history": patch

declined:
- helios-background
2 changes: 1 addition & 1 deletion packages/rpcs/eth_estimate1559Fee/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const permissions = {
//Gas station url for EIP1559
export const GAS_API_BASE_URL = 'https://gas-api.metaswap.codefi.network'
// How many blocks to consider for priority fee estimation
const FEE_HISTORY_BLOCKS = 5
const FEE_HISTORY_BLOCKS = '0x5'
// Levels of priority fee
const PRIORITY_LEVELS = ['low', 'medium', 'high']
const SETTINGS_BY_PRIORITY_LEVEL = {
Expand Down
3 changes: 2 additions & 1 deletion packages/rpcs/eth_feeHistory/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@ import {
or,
zeroOrMore,
number,
string,
schema,
} from '@fluent-wallet/spec'

export const NAME = 'eth_feeHistory'
export const schemas = {
input: [
cat,
number,
string,
[or, blockRef, Uint],
[schema, [zeroOrMore, [number, {max: 100, min: 1}]]],
],
Expand Down
12 changes: 1 addition & 11 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -15046,7 +15046,7 @@ __metadata:
version: 1.4.2
resolution: "eth-sig-util@npm:1.4.2"
dependencies:
ethereumjs-abi: "git+https://github.com/ethereumjs/ethereumjs-abi.git"
ethereumjs-abi: ^0.6.8
ethereumjs-util: ^5.1.1
checksum: 578f5c571c1bb0a86dc1bd4a5b56b8073b37823496d7afa74d772cf91ae6860f91bafcbee931be39a3d13f0c195df9f026a27fce350605ad5d15901a5a4ea94a
languageName: node
Expand Down Expand Up @@ -15140,16 +15140,6 @@ __metadata:
languageName: node
linkType: hard

"ethereumjs-abi@git+https://github.com/ethereumjs/ethereumjs-abi.git":
version: 0.6.8
resolution: "ethereumjs-abi@https://github.com/ethereumjs/ethereumjs-abi.git#commit=ee3994657fa7a427238e6ba92a84d0b529bbcde0"
dependencies:
bn.js: ^4.11.8
ethereumjs-util: ^6.0.0
checksum: ae074be0bb012857ab5d3ae644d1163b908a48dd724b7d2567cfde309dc72222d460438f2411936a70dc949dc604ce1ef7118f7273bd525815579143c907e336
languageName: node
linkType: hard

"ethereumjs-abi@npm:0.6.5":
version: 0.6.5
resolution: "ethereumjs-abi@npm:0.6.5"
Expand Down

0 comments on commit 1e40282

Please sign in to comment.