feat: initial commit #1
push.yml
on: push
test
/
vitest
22s
release
/
semantic-release
Annotations
5 errors
test/traceCall.test.ts > traceCall > should trace call:
test/traceCall.test.ts#L18
Error: Snapshot `traceCall > should trace call 1` mismatched
- Expected
+ Received
{
"calls": [
{
"error": "execution reverted",
- "from": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
+ "from": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"gas": "0x1c22d8c",
"gasUsed": "0x14f1",
"input": "0xa9059cbb000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb922660000000000000000000000000000000000000000000000000000000005f5e100",
"output": "0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002645524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63650000000000000000000000000000000000000000000000000000",
"revertReason": "ERC20: transfer amount exceeds balance",
- "to": "0x43506849D7C04F9138D1A2050bbF3A0c054402dd",
+ "to": "0x43506849d7c04f9138d1a2050bbf3a0c054402dd",
"type": "DELEGATECALL",
"value": "0x0",
},
],
"error": "execution reverted",
- "from": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
+ "from": "0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266",
"gas": "0x1c96f24",
"gasUsed": "0x85d9",
"input": "0xa9059cbb000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb922660000000000000000000000000000000000000000000000000000000005f5e100",
"output": "0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002645524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63650000000000000000000000000000000000000000000000000000",
"revertReason": "ERC20: transfer amount exceeds balance",
- "to": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
+ "to": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"type": "CALL",
"value": "0x0",
}
❯ test/traceCall.test.ts:18:20
|
test/traceCall.test.ts > traceCall > should trace failing tx by default:
test/traceCall.test.ts#L22
Error: Snapshot `traceCall > should trace failing tx by default 1` mismatched
- Expected
+ Received
@@ -1,10 +1,10 @@
[ContractFunctionExecutionError: The contract function "transfer" reverted with the following reason:
- 0 ↳ FROM 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266
- 0 ↳ CALL (0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48).transfer(0xf39F...0xf3, 100000000) -> ERC20: transfer amount exceeds balance
- 1 ↳ DELEGATECALL (0x43506849D7C04F9138D1A2050bbF3A0c054402dd).transfer(0xf39F...0xf3, 100000000) -> ERC20: transfer amount exceeds balance
+ 0 ↳ FROM 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266
+ 0 ↳ CALL (0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48).transfer(0xf39F...0xf3, 100000000) -> ERC20: transfer amount exceeds balance
+ 1 ↳ DELEGATECALL (0x43506849d7c04f9138d1a2050bbf3a0c054402dd).transfer(0xf39F...0xf3, 100000000) -> ERC20: transfer amount exceeds balance
Contract Call:
address: 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
function: transfer(address recipient, uint256 amount)
❯ test/traceCall.test.ts:22:5
|
test/traceCall.test.ts > traceCall > should not trace failing txs when disabled:
test/traceCall.test.ts#L46
Error: Snapshot `traceCall > should not trace failing txs when disabled 2` mismatched
- Expected
+ Received
@@ -1,10 +1,10 @@
[ContractFunctionExecutionError: The contract function "transfer" reverted with the following reason:
- 0 ↳ FROM 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266
- 0 ↳ CALL (0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48).transfer(0xf39F...0xf3, 100000000) -> ERC20: transfer amount exceeds balance
- 1 ↳ DELEGATECALL (0x43506849D7C04F9138D1A2050bbF3A0c054402dd).transfer(0xf39F...0xf3, 100000000) -> ERC20: transfer amount exceeds balance
+ 0 ↳ FROM 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266
+ 0 ↳ CALL (0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48).transfer(0xf39F...0xf3, 100000000) -> ERC20: transfer amount exceeds balance
+ 1 ↳ DELEGATECALL (0x43506849d7c04f9138d1a2050bbf3a0c054402dd).transfer(0xf39F...0xf3, 100000000) -> ERC20: transfer amount exceeds balance
Contract Call:
address: 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
function: transfer(address recipient, uint256 amount)
❯ test/traceCall.test.ts:46:5
|
test/traceCall.test.ts > traceCall > should trace next txs even when disabled:
test/traceCall.test.ts#L71
Error: Snapshot `traceCall > should trace next txs even when disabled 1` mismatched
- Expected
+ Received
[
[
- "0 ↳ FROM 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266
- 0 ↳ CALL (0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48).transfer(0xf39F...0xf3, 100000000) -> ERC20: transfer amount exceeds balance
- 1 ↳ DELEGATECALL (0x43506849D7C04F9138D1A2050bbF3A0c054402dd).transfer(0xf39F...0xf3, 100000000) -> ERC20: transfer amount exceeds balance
+ "0 ↳ FROM 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266
+ 0 ↳ CALL (0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48).transfer(0xf39F...0xf3, 100000000) -> ERC20: transfer amount exceeds balance
+ 1 ↳ DELEGATECALL (0x43506849d7c04f9138d1a2050bbf3a0c054402dd).transfer(0xf39F...0xf3, 100000000) -> ERC20: transfer amount exceeds balance
",
],
]
❯ test/traceCall.test.ts:71:35
|
test / vitest
Process completed with exit code 1.
|