mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
test: Add ValidBlocks and InvalidBlocks blockchain tests (#13969)
Co-authored-by: VolodymyrBg <aqdrgg19@gmail.com> Co-authored-by: joshieDo <93316087+joshieDo@users.noreply.github.com>
This commit is contained in:
@ -78,4 +78,14 @@ mod general_state_tests {
|
||||
general_state_test!(vm_tests, VMTests);
|
||||
}
|
||||
|
||||
// TODO: Add ValidBlocks and InvalidBlocks tests
|
||||
macro_rules! blockchain_test {
|
||||
($test_name:ident, $dir:ident) => {
|
||||
#[test]
|
||||
fn $test_name() {
|
||||
BlockchainTests::new(format!("{}", stringify!($dir))).run();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
blockchain_test!(valid_blocks, ValidBlocks);
|
||||
// blockchain_test!(invalid_blocks, InvalidBlocks);
|
||||
|
||||
Reference in New Issue
Block a user