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

Unify/sync dump with authority store #3494

Merged
merged 8 commits into from
Jul 26, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
Prev Previous commit
Next Next commit
Comments
  • Loading branch information
oxade committed Jul 26, 2022
commit 0078775c62cad34d0c0c0e8494d4c4cb9f8a5d19
6 changes: 4 additions & 2 deletions crates/sui-core/src/unit_tests/batch_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,8 @@ async fn test_batch_store_retrieval() {
let inner_store = store.clone();
for _i in 0u64..105 {
let t0 = &authority_state.batch_notifier.ticket().expect("ok");
inner_store.tables
inner_store
.tables
.executed_sequence
.insert(&t0.seq(), &tx_zero)
.expect("Failed to write.");
Expand All @@ -423,7 +424,8 @@ async fn test_batch_store_retrieval() {

for _i in 110u64..120 {
let t0 = &authority_state.batch_notifier.ticket().expect("ok");
inner_store.tables
inner_store
.tables
.executed_sequence
.insert(&t0.seq(), &tx_zero)
.expect("Failed to write.");
Expand Down
1 change: 1 addition & 0 deletions crates/sui-tool/src/db_tool/db_dump.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ pub fn list_tables(path: PathBuf) -> anyhow::Result<Vec<String>> {
.map(|q| {
q.iter()
.filter_map(|s| {
// The `default` table is not used
if s != "default" {
Some(s.clone())
} else {
Expand Down