Skip to content

Commit

Permalink
1700 fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
kladkogex committed Oct 24, 2023
1 parent 1a4c7a9 commit 80c2e44
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions test/historicstate/hardhat/scripts/push0_test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const OWNER_ADDRESS: string = "0x907cd0881E50d359bb9Fd120B1A5A143b1C97De6";
const ZERO_ADDRESS: string = "0xO000000000000000000000000000000000000000";
const INITIAL_MINT: bigint = 10000000000000000000000000000000000000000n;
const INITIAL_MINT: bigint = 10000000000000000000000000000000000000000;

import {ethers} from "hardhat";

Expand Down Expand Up @@ -29,16 +29,9 @@ function CHECK(result: any): void {
}

async function getAndPrintTrace(hash: string): Promise<String> {
// const trace = await ethers.provider.send('debug_traceTransaction', [hash, {"tracer":"prestateTracer",
// "tracerConfig": {"diffMode":true}}]);

// const trace = await ethers.provider.send('debug_traceTransaction', [hash, {"tracer": "callTracer",
// "tracerConfig": {"withLog":true}}]);

const trace = await ethers.provider.send('debug_traceTransaction', [hash, {}]);



console.log(JSON.stringify(trace, null, 4));
return trace;
}
Expand All @@ -58,12 +51,6 @@ async function deployWriteAndDestroy(): Promise<void> {
console.log(`Gas limit ${testContract.deployTransaction.gasLimit}`);
console.log(`Contract deployed to ${testContract.address} at block ${deployBn} tx hash ${hash}`);


// await waitUntilNextBlock()

//await getAndPrintTrace(hash)


console.log(`Now testing`);

const transferReceipt = await testContract.getZero()
Expand Down

0 comments on commit 80c2e44

Please sign in to comment.