Skip to content

Commit

Permalink
fix: include TukTuk in the network params (#5043)
Browse files Browse the repository at this point in the history
  • Loading branch information
LesnyRumcajs authored Dec 4, 2024
1 parent 11d505e commit f5cb166
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/rpc/methods/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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)?,
})
}
}

0 comments on commit f5cb166

Please sign in to comment.