mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
test(ef-tests): remove stack size increase (#6409)
This commit is contained in:
@ -6,18 +6,7 @@ macro_rules! general_state_test {
|
|||||||
($test_name:ident, $dir:ident) => {
|
($test_name:ident, $dir:ident) => {
|
||||||
#[test]
|
#[test]
|
||||||
fn $test_name() {
|
fn $test_name() {
|
||||||
// TODO: can be removed with revm call-loop support
|
BlockchainTests::new(format!("GeneralStateTests/{}", stringify!($dir))).run();
|
||||||
// <https://github.com/paradigmxyz/reth/issues/5582>
|
|
||||||
std::thread::Builder::new()
|
|
||||||
.stack_size(
|
|
||||||
1024 * 1024 * 8, // 8MB
|
|
||||||
)
|
|
||||||
.spawn(move || {
|
|
||||||
BlockchainTests::new(format!("GeneralStateTests/{}", stringify!($dir))).run();
|
|
||||||
})
|
|
||||||
.unwrap()
|
|
||||||
.join()
|
|
||||||
.unwrap();
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user