Skip to content

Commit 4f41119

Browse files
authored
chore: remove nv23-dev flag (#2022)
1 parent b3fba92 commit 4f41119

File tree

6 files changed

+6
-9
lines changed

6 files changed

+6
-9
lines changed

fvm/CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Changes to the reference FVM implementation.
55
## [Unreleased]
66

77
- **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.
8+
- chore: remove the `nv23-dev` feature flag [#2022](https://github.com/filecoin-project/ref-fvm/pull/2022)
89

910
## 4.3.0 [2023-06-12]
1011

fvm/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ arb = ["arbitrary", "quickcheck", "fvm_shared/arb"]
5757
m2-native = []
5858
upgrade-actor = []
5959
gas_calibration = []
60-
nv23-dev = []
6160
# Use this feature to keep `verify_signature` syscall that is supposed to be removed by FIP-0079,
6261
# The current implementation keeps it by default for backward compatibility reason.
6362
# See <https://github.com/filecoin-project/ref-fvm/issues/2001>

fvm/src/gas/price_list.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1001,9 +1001,7 @@ impl PriceList {
10011001
/// Returns gas price list by NetworkVersion for gas consumption.
10021002
pub fn price_list_by_network_version(network_version: NetworkVersion) -> &'static PriceList {
10031003
match network_version {
1004-
NetworkVersion::V21 | NetworkVersion::V22 => &WATERMELON_PRICES,
1005-
#[cfg(feature = "nv23-dev")]
1006-
NetworkVersion::V23 => &WATERMELON_PRICES,
1004+
NetworkVersion::V21 | NetworkVersion::V22 | NetworkVersion::V23 => &WATERMELON_PRICES,
10071005
_ => panic!("network version {nv} not supported", nv = network_version),
10081006
}
10091007
}

fvm/src/machine/default.rs

-5
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,6 @@ where
5151
/// * `blockstore`: The underlying [blockstore][`Blockstore`] for reading/writing state.
5252
/// * `externs`: Client-provided ["external"][`Externs`] methods for accessing chain state.
5353
pub fn new(context: &MachineContext, blockstore: B, externs: E) -> anyhow::Result<Self> {
54-
#[cfg(not(feature = "nv23-dev"))]
55-
const SUPPORTED_VERSIONS: RangeInclusive<NetworkVersion> =
56-
NetworkVersion::V21..=NetworkVersion::V22;
57-
58-
#[cfg(feature = "nv23-dev")]
5954
const SUPPORTED_VERSIONS: RangeInclusive<NetworkVersion> =
6055
NetworkVersion::V21..=NetworkVersion::V23;
6156

sdk/CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## [Unreleased]
44

5+
- chore: remove the `nv23-dev` feature flag [#2022](https://github.com/filecoin-project/ref-fvm/pull/2022)
6+
57
## 4.3.0 [2023-06-12]
68

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

shared/CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## [Unreleased]
44

5+
- chore: remove the `nv23-dev` feature flag [#2022](https://github.com/filecoin-project/ref-fvm/pull/2022)
6+
57
## 4.3.0 [2023-06-12]
68

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

0 commit comments

Comments
 (0)