Skip to content

Commit

Permalink
fix(drive-abci): for network upgrade to version 4
Browse files Browse the repository at this point in the history
  • Loading branch information
QuantumExplorer committed Oct 1, 2024
1 parent 9065a0a commit 1d3633b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ impl<C> Platform<C> {
platform_version: &PlatformVersion,
) -> Result<(), Error> {
if previous_protocol_version < 4 && platform_version.protocol_version >= 4 {
self.transition_to_version_4(transaction, platform_version);
self.transition_to_version_4(transaction, platform_version)?;
}

Ok(())
Expand Down
2 changes: 1 addition & 1 deletion packages/rs-platform-version/src/version/v4.rs
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ pub const PLATFORM_V4: PlatformVersion = PlatformVersion {
protocol_upgrade: DriveAbciProtocolUpgradeMethodVersions {
check_for_desired_protocol_upgrade: 1,
upgrade_protocol_version_on_epoch_change: 0,
perform_events_on_first_block_of_protocol_change: Some(4),
perform_events_on_first_block_of_protocol_change: Some(0),
protocol_version_upgrade_percentage_needed: 67,
},
block_fee_processing: DriveAbciBlockFeeProcessingMethodVersions {
Expand Down

0 comments on commit 1d3633b

Please sign in to comment.