-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Question :: Howto enable debug traces #240
Copy link
Copy link
Closed
Description
Hey There,
Very basic question, tried to execute the test with command "yarn run test ./test/contracts/ovm/execution-manager/ExecutionManager.executeCall.spec.ts ", but I don't know howto activate the internal traces both from *.sol & *.ts
Long console log in stripped form ...
vagrant@vagrant:/vagrant/ws-020-blocks/demo-002-optimism/optimism-monorepo/packages/contracts$ yarn run test ./test/contracts/ovm/execution-manager/ExecutionManager.executeCall.spec.ts
yarn run v1.22.5
$ yarn run test:contracts ./test/contracts/ovm/execution-manager/ExecutionManager.executeCall.spec.ts
$ cross-env SOLPP_FLAGS="FLAG_IS_TEST,FLAG_IS_DEBUG" buidler test --show-stack-traces ./test/contracts/ovm/execution-manager/ExecutionManager.executeCall.spec.ts
Compiling...
Compiled 61 contracts successfully
Execution Manager -- TX/Call Execution Functions
executeNonEOACall
✓ fails if the provided timestamp is 0 (118ms)
✓ properly executes a raw call -- 0 param (151ms)
executeEOACall
✓ properly executes a raw call -- 0 param (303ms)
✓ increments the senders nonce (189ms)
✓ properly executes a raw call -- 1 param (265ms)
✓ reverts when it makes a call that reverts
✓ reverts when it makes a call that fails a require (218ms)
7 passing (13s)
Done in 37.86s.
Any configuration missing ?
Thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels