Skip to content

Commit

Permalink
Merge branch '127-evm-fee-refactor' into 'dev'
Browse files Browse the repository at this point in the history
refactor EVM fee

Closes #127

See merge request ergo/rosen-bridge/rosen-chains!156
  • Loading branch information
zargarzadehm committed Dec 3, 2024
2 parents 4986335 + 8a09d20 commit 4f31874
Show file tree
Hide file tree
Showing 13 changed files with 603 additions and 309 deletions.
6 changes: 6 additions & 0 deletions .changeset/dull-hotels-trade.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@rosen-chains/evm': major
---

Replace getMaxFeePerGas and getMaxPriorityFeePerGas functions with getFeeData function in AbstractEvmNetwork
Support both type 0 and type 2 transactions
5 changes: 5 additions & 0 deletions .changeset/wet-terms-decide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@rosen-chains/evm-rpc': major
---

Replace getMaxFeePerGas and getMaxPriorityFeePerGas functions with getFeeData function in AbstractEvmNetwork
1 change: 1 addition & 0 deletions packages/chains/binance/lib/BinanceChain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ class BinanceChain extends EvmChain {
signFunction,
BINANCE_CHAIN,
BNB,
0,
logger
);
}
Expand Down
1 change: 1 addition & 0 deletions packages/chains/ethereum/lib/EthereumChain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ class EthereumChain extends EvmChain {
signFunction,
ETHEREUM_CHAIN,
ETH,
2,
logger
);
}
Expand Down
Loading

0 comments on commit 4f31874

Please sign in to comment.