You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.
maxPriorityFeePerGas === undefined → set with return value of caver.rpc.klay.getMaxPriorityFeePerGas
maxFeePerGas === undefined → set with return value of caver.rpc.klay.getGasPrice
tx.type != EthereumDynamicFeeTx
gasPrice === undefined → set with return value of caver.rpc.klay.getGasPrice
(After KIP-71 Hardfork) header.baseFeePerGas !== undefined || header.baseFeePerGas > 0
tx.type === EthereumDynamicFeeTx
maxPriorityFeePerGas === undefined → set with return value of caver.rpc.klay.getMaxPriorityFeePerGas (Klaytn will ignore this)
maxFeePerGas → set with baseFee * 2
tx.type != EthereumDynamicFeeTx
gasPrice === undefined → set with baseFee * 2
Modify tx.fillTransaction logic for dynamic base fee → use tx.getSuggestedGasPrice
The text was updated successfully, but these errors were encountered:
JSON RPC Layer
Add
effectiveGasPrice
field to the return object ofcaver.rpc.klay.getTransactionReceipt
Transaction Layer
Implement
tx.getSuggestedGasPrice
→ Depends on hard fork, returns suggested gas priceModify optional field setting logic
(Before KIP-71 Hardfork) header.baseFeePerGas === undefined || header.baseFeePerGas =< 0
caver.rpc.klay.getMaxPriorityFeePerGas
caver.rpc.klay.getGasPrice
caver.rpc.klay.getGasPrice
(After KIP-71 Hardfork) header.baseFeePerGas !== undefined || header.baseFeePerGas > 0
caver.rpc.klay.getMaxPriorityFeePerGas
(Klaytn will ignore this)baseFee * 2
baseFee * 2
tx.fillTransaction
logic for dynamic base fee → usetx.getSuggestedGasPrice
The text was updated successfully, but these errors were encountered: