Skip to content

Commit 8261dcc

Browse files
committed
Review fixes, merge with main
1 parent 2c1757f commit 8261dcc

File tree

7 files changed

+411
-416
lines changed

7 files changed

+411
-416
lines changed

modules/governance_state/data/check_conway_syncdb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def strip_some(s):
3131

3232
dbsync_dict = {}
3333

34-
# 0 7 13 23
34+
# First field index in header per each line: 0 7 13 23
3535
header = """id,tx_id,index,prev_gov_action_proposal,deposit,return_address,expiration,
3636
voting_anchor_id,type,description,param_proposal,ratified_epoch,enacted_epoch,
3737
dropped_epoch,expired_epoch,id,hash,block_id,block_index,out_sum,fee,deposit,size,

modules/governance_state/data/convert_governance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def split_votes(vstr):
4141
votes_hash[int(g.group(1))-1] = []
4242
votes_hash[int(g.group(1))-1] += [(g.group(2), split_votes(g.group(3)))]
4343

44-
g = re.match(r'.*acropolis_module_parameters_state: NPPX: \[(\d+),(.*)\]$',v)
44+
g = re.match(r'.*acropolis_module_parameters_state: New parameter set enacted [from epoch, params]: \[(\d+),(.*)\]$',v)
4545
if g:
4646
param_hash[int(g.group(1))] = g.group(2)
4747

modules/governance_state/data/conway_verification.csv

Lines changed: 23 additions & 23 deletions
Large diffs are not rendered by default.

modules/governance_state/data/param_state.json

Lines changed: 60 additions & 60 deletions
Large diffs are not rendered by default.

modules/governance_state/data/voting_state.json

Lines changed: 325 additions & 325 deletions
Large diffs are not rendered by default.

modules/parameters_state/src/parameters_state.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ impl ParametersState {
128128
// Commit state on params change
129129
if current_params != new_params.params {
130130
info!(
131-
"NPPX: [{},{}]",
131+
"New parameter set enacted [from epoch, params]: [{},{}]",
132132
block.epoch,
133133
serde_json::to_string(&new_params.params)?
134134
);

processes/replayer/src/main.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,12 @@ use tracing_subscriber::{filter, fmt, EnvFilter, Registry};
1212

1313
// External modules
1414
use acropolis_module_accounts_state::AccountsState;
15-
//use acropolis_module_address_state::AddressState;
16-
//use acropolis_module_assets_state::AssetsState;
1715
use acropolis_module_block_unpacker::BlockUnpacker;
18-
//use acropolis_module_chain_store::ChainStore;
19-
//use acropolis_module_consensus::Consensus;
2016
use acropolis_module_drdd_state::DRDDState;
2117
use acropolis_module_drep_state::DRepState;
2218
use acropolis_module_epochs_state::EpochsState;
2319
use acropolis_module_genesis_bootstrapper::GenesisBootstrapper;
2420
use acropolis_module_governance_state::GovernanceState;
25-
//use acropolis_module_historical_accounts_state::HistoricalAccountsState;
2621
use acropolis_module_mithril_snapshot_fetcher::MithrilSnapshotFetcher;
2722
use acropolis_module_parameters_state::ParametersState;
2823
use acropolis_module_rest_blockfrost::BlockfrostREST;

0 commit comments

Comments
 (0)