Commit 2b54219 1 parent 2ded891 commit 2b54219 Copy full SHA for 2b54219
File tree 4 files changed +7
-11
lines changed
4 files changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ Changes to the reference FVM implementation.
4
4
5
5
## [ Unreleased]
6
6
7
+ - chore: remove the nv25-dev feature flag [ #2093 ] ( https://github.com/filecoin-project/ref-fvm/pull/2093 )
8
+
7
9
## 4.5.2 [ 2024-11-21]
8
10
9
11
- feat: add ` nv25-dev ` feature flag [ #2076 ] ( https://github.com/filecoin-project/ref-fvm/pull/2076 )
Original file line number Diff line number Diff line change @@ -61,4 +61,3 @@ gas_calibration = []
61
61
# The current implementation keeps it by default for backward compatibility reason.
62
62
# See <https://github.com/filecoin-project/ref-fvm/issues/2001>
63
63
verify-signature = []
64
- nv25-dev = []
Original file line number Diff line number Diff line change @@ -1001,11 +1001,11 @@ impl PriceList {
1001
1001
/// Returns gas price list by NetworkVersion for gas consumption.
1002
1002
pub fn price_list_by_network_version ( network_version : NetworkVersion ) -> & ' static PriceList {
1003
1003
match network_version {
1004
- NetworkVersion :: V21 | NetworkVersion :: V22 | NetworkVersion :: V23 | NetworkVersion :: V24 => {
1005
- & WATERMELON_PRICES
1006
- }
1007
- # [ cfg ( feature = "nv25-dev" ) ]
1008
- NetworkVersion :: V25 => & WATERMELON_PRICES ,
1004
+ NetworkVersion :: V21
1005
+ | NetworkVersion :: V22
1006
+ | NetworkVersion :: V23
1007
+ | NetworkVersion :: V24
1008
+ | NetworkVersion :: V25 => & WATERMELON_PRICES ,
1009
1009
_ => panic ! ( "network version {nv} not supported" , nv = network_version) ,
1010
1010
}
1011
1011
}
Original file line number Diff line number Diff line change 51
51
/// * `blockstore`: The underlying [blockstore][`Blockstore`] for reading/writing state.
52
52
/// * `externs`: Client-provided ["external"][`Externs`] methods for accessing chain state.
53
53
pub fn new ( context : & MachineContext , blockstore : B , externs : E ) -> anyhow:: Result < Self > {
54
- #[ cfg( not( feature = "nv25-dev" ) ) ]
55
- const SUPPORTED_VERSIONS : RangeInclusive < NetworkVersion > =
56
- NetworkVersion :: V21 ..=NetworkVersion :: V24 ;
57
-
58
- #[ cfg( feature = "nv25-dev" ) ]
59
54
const SUPPORTED_VERSIONS : RangeInclusive < NetworkVersion > =
60
55
NetworkVersion :: V21 ..=NetworkVersion :: V25 ;
61
56
You can’t perform that action at this time.
0 commit comments