-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
set up env for test & add basic unit test example
- Loading branch information
1 parent
d90755c
commit f7c1d64
Showing
25 changed files
with
1,061 additions
and
1,556 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
extension: ["ts"] | ||
colors: true | ||
node-option: | ||
- "loader=ts-node/esm" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
colors: true | ||
require: | ||
- ./test/setup.ts | ||
timeout: 5000 | ||
exit: true | ||
extension: ["ts"] | ||
node-option: | ||
- "loader=ts-node/esm" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { providers } from "ethers"; | ||
import { BundlerCollectorReturn } from "types/lib/executor"; | ||
import { TracerPrestateResponse } from "../../src/interfaces"; | ||
|
||
export class GethTracer { | ||
async debug_traceCall( | ||
tx: providers.TransactionRequest | ||
): Promise<BundlerCollectorReturn> { | ||
return { | ||
callsFromEntryPoint: [], | ||
keccak: [], | ||
calls: [], | ||
logs: [], | ||
debug: [], | ||
} | ||
} | ||
|
||
async debug_traceCallPrestate( | ||
tx: providers.TransactionRequest | ||
): Promise<TracerPrestateResponse> { | ||
return {}; | ||
} | ||
} |
Oops, something went wrong.