Skip to content

Commit

Permalink
chore: remove nv23-dev flag
Browse files Browse the repository at this point in the history
  • Loading branch information
LesnyRumcajs committed Jun 26, 2024
1 parent b3fba92 commit 5462104
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 9 deletions.
1 change: 1 addition & 0 deletions fvm/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Changes to the reference FVM implementation.
## [Unreleased]

- **BREAKING**: Simplify the verify-signtures feature and update ambassador. This is a minor-breaking change because the ambassador macros are now only exported from the prelude/kernel module, not the crate root as they previously were.
- chore: remove the `nv23-dev` feature flag [#2022](https://github.com/filecoin-project/ref-fvm/pull/2022)

## 4.3.0 [2023-06-12]

Expand Down
1 change: 0 additions & 1 deletion fvm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ arb = ["arbitrary", "quickcheck", "fvm_shared/arb"]
m2-native = []
upgrade-actor = []
gas_calibration = []
nv23-dev = []
# Use this feature to keep `verify_signature` syscall that is supposed to be removed by FIP-0079,
# The current implementation keeps it by default for backward compatibility reason.
# See <https://github.com/filecoin-project/ref-fvm/issues/2001>
Expand Down
4 changes: 1 addition & 3 deletions fvm/src/gas/price_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1001,9 +1001,7 @@ impl PriceList {
/// Returns gas price list by NetworkVersion for gas consumption.
pub fn price_list_by_network_version(network_version: NetworkVersion) -> &'static PriceList {
match network_version {
NetworkVersion::V21 | NetworkVersion::V22 => &WATERMELON_PRICES,
#[cfg(feature = "nv23-dev")]
NetworkVersion::V23 => &WATERMELON_PRICES,
NetworkVersion::V21 | NetworkVersion::V22 | NetworkVersion::V23 => &WATERMELON_PRICES,
_ => panic!("network version {nv} not supported", nv = network_version),
}
}
Expand Down
5 changes: 0 additions & 5 deletions fvm/src/machine/default.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,6 @@ where
/// * `blockstore`: The underlying [blockstore][`Blockstore`] for reading/writing state.
/// * `externs`: Client-provided ["external"][`Externs`] methods for accessing chain state.
pub fn new(context: &MachineContext, blockstore: B, externs: E) -> anyhow::Result<Self> {
#[cfg(not(feature = "nv23-dev"))]
const SUPPORTED_VERSIONS: RangeInclusive<NetworkVersion> =
NetworkVersion::V21..=NetworkVersion::V22;

#[cfg(feature = "nv23-dev")]
const SUPPORTED_VERSIONS: RangeInclusive<NetworkVersion> =
NetworkVersion::V21..=NetworkVersion::V23;

Expand Down
2 changes: 2 additions & 0 deletions sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## [Unreleased]

- chore: remove the `nv23-dev` feature flag [#2022](https://github.com/filecoin-project/ref-fvm/pull/2022)

## 4.3.0 [2023-06-12]

- feat: FIP-0079: syscall for aggregated bls verification [#2003](https://github.com/filecoin-project/ref-fvm/pull/2003)
Expand Down
2 changes: 2 additions & 0 deletions shared/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## [Unreleased]

- chore: remove the `nv23-dev` feature flag [#2022](https://github.com/filecoin-project/ref-fvm/pull/2022)

## 4.3.0 [2023-06-12]

- feat: FIP-0079: syscall for aggregated bls verification [#2003](https://github.com/filecoin-project/ref-fvm/pull/2003)
Expand Down

0 comments on commit 5462104

Please sign in to comment.