Skip to content

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
  • Loading branch information
einar-polygon committed Sep 19, 2024
1 parent c000b5a commit ec81701
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion scripts/prove_stdio.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export RAYON_NUM_THREADS=$num_procs
#export RUST_LOG=trace
# Script users are running locally, and might benefit from extra perf.
# See also .cargo/config.toml.
export RUSTFLAGS='-C target-cpu=native -Z linker-features=-lld'
#export RUSTFLAGS='-C target-cpu=native -Z linker-features=-lld'

INPUT_FILE=$1
TEST_ONLY=$2
Expand Down
8 changes: 4 additions & 4 deletions scripts/test_jerigon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ mkdir -p witnesses
export RAYON_NUM_THREADS=4
export TOKIO_WORKER_THREADS=1
export RUST_BACKTRACE=full
export RUSTFLAGS='-C target-cpu=native -Zlinker-features=-lld'
export RUST_MIN_STACK=67108864
#export RUSTFLAGS='-C target-cpu=native -Zlinker-features=-lld'
#export RUST_MIN_STACK=67108864

GITHASH=`git rev-parse --short HEAD`
echo "Testing against jergion, current revision: $GITHASH."
Expand Down Expand Up @@ -138,9 +138,9 @@ USEDTOFAIL="

ROUND2="
664
665
667
670
665
"

NOWSUCCESS="
Expand Down Expand Up @@ -185,7 +185,7 @@ for BLOCK in $BLOCKS; do
echo "Testing blocks: $BLOCKS."
echo "Now testing block $BLOCK .."
export RUST_LOG=info
prove_stdio.sh $WITNESS test_only
./prove_stdio.sh $WITNESS test_only
EXITCODE=$?
if [ $EXITCODE -eq 0 ]
then
Expand Down
3 changes: 1 addition & 2 deletions zero/src/rpc/jumpdest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ use keccak_hash::keccak;
use structlogprime::normalize_structlog;
use tokio::time::timeout;
use trace_decoder::TxnTrace;
use tracing::{instrument, trace};
use tracing::trace;

/// The maximum time we are willing to wait for a structlog before failing over
/// to simulating the JumpDest analysis.
Expand Down Expand Up @@ -98,7 +98,6 @@ fn precompiles() -> &'static HashSet<Address> {

/// Generate at JUMPDEST table by simulating the call stack in EVM,
/// using a Geth structlog as input.
// #[instrument]
pub(crate) fn generate_jumpdest_table(
tx: &Transaction,
struct_log: &[StructLog],
Expand Down

0 comments on commit ec81701

Please sign in to comment.