Skip to content
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

Introduce changes from dynamic base fee #1051

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/systems/filecoin_blockchain/struct/block/block.id
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ type BlockHeader struct {
// Signatures
Signature filcrypto.Signature

BaseFee abi.TokenAmount

// SerializeSigned() []byte
// ComputeUnsignedFingerprint() []
}
Expand Down
7 changes: 5 additions & 2 deletions src/systems/filecoin_vm/message/message.id
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,12 @@ type UnsignedMessage struct {
// Amount of value to transfer from sender's to receiver's balance.
Value abi.TokenAmount

// GasPrice is a Gas-to-FIL cost
GasPrice abi.TokenAmount
// Maximum amount of Gas used
GasLimit GasAmount
// Maximum price to be paid per unit of Gas, includes GasPremium
GasFeeCap abi.TokenAmount
// How much to pay miner per unit of Gas
GasPremium abi.TokenAmount

// Optional method to invoke on receiver, zero for a plain value send.
Method abi.MethodNum
Expand Down