Skip to content

Commit

Permalink
remove generic from stake table (#2383)
Browse files Browse the repository at this point in the history
* remove generic from stake table

* lint

* move types to top, remove some more specified types

* update v99 reference test files
  • Loading branch information
imabdulbasit authored Dec 10, 2024
1 parent ffe9c54 commit f1b2799
Show file tree
Hide file tree
Showing 7 changed files with 87 additions and 103 deletions.
Binary file modified data/v99/chain_config.bin
Binary file not shown.
3 changes: 2 additions & 1 deletion data/v99/chain_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
"chain_id": "35353",
"fee_contract": "0x0000000000000000000000000000000000000000",
"fee_recipient": "0x0000000000000000000000000000000000000000",
"max_block_size": "10240"
"max_block_size": "10240",
"stake_table_contract": "0x0000000000000000000000000000000000000000"
}
Binary file modified data/v99/header.bin
Binary file not shown.
3 changes: 2 additions & 1 deletion data/v99/header.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"chain_id": "35353",
"fee_contract": "0x0000000000000000000000000000000000000000",
"fee_recipient": "0x0000000000000000000000000000000000000000",
"max_block_size": "10240"
"max_block_size": "10240",
"stake_table_contract": "0x0000000000000000000000000000000000000000"
}
}
},
Expand Down
13 changes: 11 additions & 2 deletions sequencer-sqlite/Cargo.lock

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

4 changes: 2 additions & 2 deletions types/src/reference_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ const REFERENCE_V1_CHAIN_CONFIG_COMMITMENT: &str =
"CHAIN_CONFIG~L6HmMktJbvnEGgpmRrsiYvQmIBstSj9UtDM7eNFFqYFO";

const REFERENCE_V99_CHAIN_CONFIG_COMMITMENT: &str =
"CHAIN_CONFIG~1mJTBiaJ0Nyuu4Ir5IZTamyI8CjexbktPkRr6R1rtnGh";
"CHAIN_CONFIG~ucfYQZSMbWCUHdtwYMc6vsw-4jDmlu3hi2lGDBxCRpI-";

fn reference_fee_info() -> FeeInfo {
FeeInfo::new(
Expand Down Expand Up @@ -156,7 +156,7 @@ async fn reference_header(version: Version) -> Header {

const REFERENCE_V1_HEADER_COMMITMENT: &str = "BLOCK~dh1KpdvvxSvnnPpOi2yI3DOg8h6ltr2Kv13iRzbQvtN2";
const REFERENCE_V2_HEADER_COMMITMENT: &str = "BLOCK~V0GJjL19nCrlm9n1zZ6gaOKEekSMCT6uR5P-h7Gi6UJR";
const REFERENCE_V99_HEADER_COMMITMENT: &str = "BLOCK~BGlAadiwOlxmhQxdp2HS7mHpG-ifDOx9ocBkTEJXx05_";
const REFERENCE_V99_HEADER_COMMITMENT: &str = "BLOCK~nzcKNbVZPDIO-6AepK2pRQKxMXeIi3U98p-CpVv8HNUt";

fn reference_transaction<R>(ns_id: NamespaceId, rng: &mut R) -> Transaction
where
Expand Down
Loading

0 comments on commit f1b2799

Please sign in to comment.