Support trailing commas in create_db

This commit is contained in:
Luke Parker
2023-11-18 20:54:37 -05:00
parent be48dcc4a4
commit 6e4ecbc90c
7 changed files with 7 additions and 7 deletions

View File

@@ -17,7 +17,7 @@ use crate::tributary::TributarySpec;
create_db! {
NewTributaryDb {
SeraiBlockNumber: (hash: [u8; 32]) -> u64
SeraiBlockNumber: (hash: [u8; 32]) -> u64,
}
}

View File

@@ -14,7 +14,7 @@ const PLAN_SIGNING_CODE: u8 = 3;
create_db!(
NonceDeciderDb {
NextNonceDb: (genesis: [u8; 32]) -> u32,
ItemNonceDb: (genesis: [u8; 32], code: u8, id: &[u8]) -> u32
ItemNonceDb: (genesis: [u8; 32], code: u8, id: &[u8]) -> u32,
}
);