From f5cb16633fc0956fb3bc429301ebe4ee9f3ed6f5 Mon Sep 17 00:00:00 2001 From: Hubert Date: Wed, 4 Dec 2024 23:31:34 +0100 Subject: [PATCH] fix: include TukTuk in the network params (#5043) --- CHANGELOG.md | 3 +++ src/rpc/methods/state.rs | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 66f918a3342..ab396cbf4ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -59,6 +59,9 @@ - [#4988](https://github.com/ChainSafe/forest/pull/4988) Fix the `logs` member in `EthTxReceipt` that was initialized with a default value. +- [#5043](https://github.com/ChainSafe/forest/pull/5043) Added missing entry for + `TukTuk` upgrade in the `Filecoin.StateGetNetworkParams` RPC method. + ## Forest 0.22.0 "Pad Thai" Mandatory release for mainnet node operators. It sets the upgrade epoch for the diff --git a/src/rpc/methods/state.rs b/src/rpc/methods/state.rs index cc42323825d..6afd140398a 100644 --- a/src/rpc/methods/state.rs +++ b/src/rpc/methods/state.rs @@ -2686,6 +2686,7 @@ pub struct ForkUpgradeParams { upgrade_dragon_height: ChainEpoch, upgrade_phoenix_height: ChainEpoch, upgrade_waffle_height: ChainEpoch, + upgrade_tuktuk_height: ChainEpoch, } impl TryFrom<&ChainConfig> for ForkUpgradeParams { @@ -2730,8 +2731,7 @@ impl TryFrom<&ChainConfig> for ForkUpgradeParams { upgrade_dragon_height: get_height(Dragon)?, upgrade_phoenix_height: get_height(Phoenix)?, upgrade_waffle_height: get_height(Waffle)?, - // TODO(forest): https://github.com/ChainSafe/forest/issues/4800 - // upgrade_tuktuk_height: get_height(TukTuk)?, + upgrade_tuktuk_height: get_height(TukTuk)?, }) } }