From 62fdac627c30affb00531f660fb69f80a43ebf87 Mon Sep 17 00:00:00 2001 From: Jakub Sztandera Date: Fri, 7 Aug 2020 20:07:08 +0200 Subject: [PATCH 1/2] Update message format Signed-off-by: Jakub Sztandera --- src/systems/filecoin_vm/message/message.id | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/systems/filecoin_vm/message/message.id b/src/systems/filecoin_vm/message/message.id index 8dd2db495..0ac0a526a 100644 --- a/src/systems/filecoin_vm/message/message.id +++ b/src/systems/filecoin_vm/message/message.id @@ -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 From 6d3d11638fd66f5d3b5504d2483a688b64f74f41 Mon Sep 17 00:00:00 2001 From: Jakub Sztandera Date: Fri, 7 Aug 2020 20:08:15 +0200 Subject: [PATCH 2/2] Update blockheader format Signed-off-by: Jakub Sztandera --- src/systems/filecoin_blockchain/struct/block/block.id | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/systems/filecoin_blockchain/struct/block/block.id b/src/systems/filecoin_blockchain/struct/block/block.id index c32a1efd4..384eef274 100644 --- a/src/systems/filecoin_blockchain/struct/block/block.id +++ b/src/systems/filecoin_blockchain/struct/block/block.id @@ -37,6 +37,8 @@ type BlockHeader struct { // Signatures Signature filcrypto.Signature + BaseFee abi.TokenAmount + // SerializeSigned() []byte // ComputeUnsignedFingerprint() [] }