Skip to content

Commit

Permalink
fix(iota-light-client)regenerate checkpoints after transaction effect…
Browse files Browse the repository at this point in the history
…s v1 changes (#3723)

* Remove ExecutionResultsV1

* Rename ExecutionResults::V2 to be V1

* Rename V2 to V1

* Rebase

* Fix clippy

* refactor(iota-types): remove TransactionEffectsV2

* refactor(iota-types): update specs

* fix(iota-light-client): regenerate checkpoints for proof tests, added ability to generate checkpoints in explicit way

* use fixes

* fmt fix

* Clippy fix

* Instruction of checkpoints generating has been added.

* dprint

---------

Co-authored-by: Bing-Yang Lin <[email protected]>
Co-authored-by: miker83z <[email protected]>
  • Loading branch information
3 people authored Oct 29, 2024
1 parent d3bd054 commit 0c635fb
Show file tree
Hide file tree
Showing 17 changed files with 10,141 additions and 12,253 deletions.
19 changes: 9 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/iota-light-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ path = "src/lib.rs"

[[bin]]
name = "iota-light-client"
path = "src/main.rs"
path = "src/bin/light_client.rs"

[dependencies]
# external dependencies
Expand Down
Binary file removed crates/iota-light-client/example_config/528.chk
Binary file not shown.
Binary file added crates/iota-light-client/example_config/534.chk
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"data": {
"epoch": 1,
"sequence_number": 528,
"network_total_transactions": 2297,
"content_digest": "CoTC2SBtCwR1DnZHwr26PL4fHVgdcEFk4nRTy2Vm2f7Q",
"previous_digest": "BDdU4PsyAgEvVtBWAx2UFwVwpHZD69yGHZRVQQtiQkLR",
"sequence_number": 534,
"network_total_transactions": 2330,
"content_digest": "9FHJDZDPvWTCMDeD4U6D9dfGA4LDwHDounTRsUwmipd8",
"previous_digest": "6vFifUu76GsxEwUvQwi4Wmn1HEw7ErfaTidGmZu1CCSx",
"epoch_rolling_gas_cost_summary": {
"computationCost": "2000000",
"storageCost": "49156800",
"storageRebate": "988000",
"computationCost": "0",
"storageCost": "0",
"storageRebate": "0",
"nonRefundableStorageFee": "0"
},
"timestamp_ms": 1729529127725,
"timestamp_ms": 1730123560473,
"checkpoint_commitments": [],
"end_of_epoch_data": {
"nextEpochCommittee": [
Expand All @@ -36,16 +36,16 @@
"epochCommitments": [
{
"ECMHLiveObjectSetDigest": {
"digest": "9HWmXguz7819cCZjTkrGVo4JZRW2xouuU48mzXn2kBLF"
"digest": "GrEtoqsvySv4D6G9csGL4mXUrnf87s23jJigugHGcvTv"
}
}
],
"epochSupplyChange": 766999998000000
"epochSupplyChange": 767000000000000
},
"version_specific_data": [
0,
1,
110,
109,
0,
0,
0,
Expand All @@ -57,7 +57,7 @@
},
"auth_signature": {
"epoch": 1,
"signature": "r9m20hZ9J6rx5wmfXQb5hCf/5KlUivWgLZYmD7L0X+E/psUu7Zt2/nv2QeJuv8Pa",
"signature": "pKCPIaUkdDkBuWUUnpncNRLTMbAzVfomTehSvvmeSKhNLKz0jm31y/pWZWmUpBK8",
"signers_map": [
58,
48,
Expand All @@ -79,7 +79,7 @@
0,
1,
0,
2,
3,
0
]
}
Expand Down
Loading

0 comments on commit 0c635fb

Please sign in to comment.