Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(iota-genesis-builder): create a Hornet snapshot filter framework + filter out voting outputs #4513

Merged
merged 33 commits into from
Jan 7, 2025
Merged
Show file tree
Hide file tree
Changes from 32 commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
1fb5c6b
feat(iota-genesis-builder): add address swap map for swaping origin a…
Dkwcs Nov 29, 2024
a68a6b1
fix(iota-genesis-builder): relative path supporting, remove mut modifier
Dkwcs Dec 1, 2024
0aa3441
fix(iota-genesis-builder): address_swap_map become field of Migration…
Dkwcs Dec 1, 2024
76512ab
fix(iota-genesis-builder): add additional hashmap that track if addre…
Dkwcs Dec 2, 2024
01b9888
fix(iota-genesis-builder): review's cmments fix
Dkwcs Dec 3, 2024
0d204a8
fix(iota-genesis-builder): anyhow error has been added instead of panic
Dkwcs Dec 3, 2024
a497ebe
cargo clippy
Dkwcs Dec 3, 2024
18ab665
typo spell fix
Dkwcs Dec 3, 2024
adf67ce
fix(iota-genesis-builder): add comments to the public functions
Dkwcs Dec 4, 2024
7f6a473
fix(iota-genesis-builder): remove mut modificator, remove extra hashmap
Dkwcs Dec 4, 2024
cf76a60
fix(iota-types): parse first address from bech32 format, csv headers …
Dkwcs Dec 5, 2024
2192fda
fix(iota-types): example of CSV file in comments above initialization…
Dkwcs Dec 5, 2024
ea6bed1
Minor fix
Dkwcs Dec 6, 2024
e6f54ae
refactor(iota-genesis-builder): move output processing out of main
miker83z Dec 7, 2024
01f68e0
feat(iota-genesis-builder): create a dedicated run migration function…
miker83z Dec 7, 2024
bb97a7c
feat(iota-e2e-tests): include snapshot generation and address swap in…
miker83z Dec 7, 2024
d21f2b5
Make some improvements to the address swap map usage (#4376)
DaughterOfMars Dec 9, 2024
056c3c6
Merge branch 'sc-platform/Read-an-Address-Swap-Map-from-a-CSV-file' i…
miker83z Dec 10, 2024
bbe6696
Merge branch 'develop' into sc-platform/address-swap-test
miker83z Dec 12, 2024
36e98b8
fix(iota-e2e-tests): update import
miker83z Dec 13, 2024
92d3d77
feat(iota-genesis-builder): create a Hornet snapshot filter framework
miker83z Dec 13, 2024
2a536f7
feat(iota-genesis-builder): add metrics print in filters
miker83z Dec 17, 2024
d92773b
Merge branch 'develop' into sc-platform/address-swap-test
miker83z Dec 17, 2024
064f0b5
fix typo
miker83z Dec 17, 2024
f3a439d
refactor(iota-genesis-builder): voting -> participation filter
miker83z Dec 18, 2024
8a750b4
Simplify the filters by using nested iterators (#4526)
DaughterOfMars Dec 19, 2024
ac8847a
Merge branch 'develop' into sc-platform/address-swap-test
miker83z Dec 19, 2024
a4d26fc
Merge branch 'sc-platform/address-swap-test' into sc-platform/filter-…
miker83z Dec 19, 2024
399e4be
refactor(iota-genesis-builder): update comments
miker83z Dec 19, 2024
0e5a810
fix(iota-genesis-builder): participation output keeps sender and issu…
miker83z Dec 19, 2024
e95504a
clippy :)
DaughterOfMars Dec 19, 2024
8be3fe9
Merge branch 'develop' into sc-platform/filter-voting-outputs
miker83z Dec 20, 2024
78c5dd0
fix(iota-genesis-builder): remove issuer from basic features
miker83z Jan 7, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/iota-genesis-builder/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ enum Snapshot {
fn main() -> Result<()> {
// Initialize tracing
let subscriber = FmtSubscriber::builder()
.with_max_level(Level::INFO)
.with_max_level(Level::DEBUG)
.finish();
tracing::subscriber::set_global_default(subscriber).expect("setting default subscriber failed");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ use crate::stardust::{
verification::{created_objects::CreatedObjects, verify_outputs},
},
native_token::package_data::NativeTokenPackageData,
process_outputs::get_merged_outputs_for_iota,
process_outputs::process_outputs_for_iota,
types::{address_swap_map::AddressSwapMap, output_header::OutputHeader},
};

Expand Down Expand Up @@ -173,7 +173,7 @@ impl Migration {
writer: impl Write,
) -> Result<()> {
itertools::process_results(
get_merged_outputs_for_iota(target_milestone_timestamp, outputs),
process_outputs_for_iota(target_milestone_timestamp, outputs),
|outputs| self.run(outputs, writer),
)?
}
Expand Down
Loading