mirror of
https://github.com/pezkuwichain/revive-differential-tests.git
synced 2026-06-13 23:21:04 +00:00
Fix the fallback gas for substrate chains
This commit is contained in:
@@ -346,7 +346,7 @@ impl SubstrateNode {
|
|||||||
.get_or_try_init(|| async move {
|
.get_or_try_init(|| async move {
|
||||||
construct_concurrency_limited_provider::<ReviveNetwork, _>(
|
construct_concurrency_limited_provider::<ReviveNetwork, _>(
|
||||||
self.rpc_url.as_str(),
|
self.rpc_url.as_str(),
|
||||||
FallbackGasFiller::new(250_000_000, 5_000_000_000, 1_000_000_000),
|
FallbackGasFiller::new(u64::MAX, 5_000_000_000, 1_000_000_000),
|
||||||
ChainIdFiller::new(Some(CHAIN_ID)),
|
ChainIdFiller::new(Some(CHAIN_ID)),
|
||||||
NonceFiller::new(self.nonce_manager.clone()),
|
NonceFiller::new(self.nonce_manager.clone()),
|
||||||
self.wallet.clone(),
|
self.wallet.clone(),
|
||||||
|
|||||||
+1
-4
@@ -76,8 +76,6 @@ cat > "$CORPUS_FILE" << EOF
|
|||||||
{
|
{
|
||||||
"name": "MatterLabs Solidity Simple, Complex, and Semantic Tests",
|
"name": "MatterLabs Solidity Simple, Complex, and Semantic Tests",
|
||||||
"paths": [
|
"paths": [
|
||||||
"$(realpath "$TEST_REPO_DIR/fixtures/solidity/translated_semantic_tests")",
|
|
||||||
"$(realpath "$TEST_REPO_DIR/fixtures/solidity/complex")",
|
|
||||||
"$(realpath "$TEST_REPO_DIR/fixtures/solidity/simple")"
|
"$(realpath "$TEST_REPO_DIR/fixtures/solidity/simple")"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -95,11 +93,10 @@ echo ""
|
|||||||
# Run the tool
|
# Run the tool
|
||||||
cargo build --release;
|
cargo build --release;
|
||||||
RUST_LOG="info,alloy_pubsub::service=error" ./target/release/retester test \
|
RUST_LOG="info,alloy_pubsub::service=error" ./target/release/retester test \
|
||||||
--platform geth-evm-solc \
|
|
||||||
--platform revive-dev-node-revm-solc \
|
--platform revive-dev-node-revm-solc \
|
||||||
--corpus "$CORPUS_FILE" \
|
--corpus "$CORPUS_FILE" \
|
||||||
--working-directory "$WORKDIR" \
|
--working-directory "$WORKDIR" \
|
||||||
--concurrency.number-of-nodes 5 \
|
--concurrency.number-of-nodes 10 \
|
||||||
--wallet.additional-keys 100000 \
|
--wallet.additional-keys 100000 \
|
||||||
--kitchensink.path "$SUBSTRATE_NODE_BIN" \
|
--kitchensink.path "$SUBSTRATE_NODE_BIN" \
|
||||||
--revive-dev-node.path "$REVIVE_DEV_NODE_BIN" \
|
--revive-dev-node.path "$REVIVE_DEV_NODE_BIN" \
|
||||||
|
|||||||
Reference in New Issue
Block a user