Skip to content

Commit

Permalink
test(blue-sdk): bump viem-tracer
Browse files Browse the repository at this point in the history
  • Loading branch information
Rubilmax committed Oct 24, 2024
1 parent 39a2c08 commit 3fa1e04
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 19 deletions.
4 changes: 3 additions & 1 deletion packages/blue-sdk/test/e2e/Market.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,10 @@ describe("Market", () => {
collateral,
})!;

client.transport.tracer.next = false;

await expect(
client.estimateContractGas({
client.writeContract({
abi: blueAbi,
address: morpho,
functionName: "borrow",
Expand Down
2 changes: 1 addition & 1 deletion packages/test-viem/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"build": "tsc"
},
"dependencies": {
"viem-tracer": "^1.2.0"
"viem-tracer": "^1.3.0"
},
"peerDependencies": {
"@morpho-org/test": "workspace:^",
Expand Down
12 changes: 0 additions & 12 deletions packages/test-viem/src/anvil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,6 @@ export type AnvilTestClient<chain extends Chain = Chain> = Client<
DealActions &
PublicActions<TracedTransport<HttpTransport>, chain, HDAccount> &
WalletActions<chain, HDAccount> & {
tracing: {
txs: boolean;
calls: boolean;
nextCall: boolean;
};

timestamp(): Promise<bigint>;

approve(args: ApproveParameters<chain>): Promise<WriteContractReturnType>;
Expand Down Expand Up @@ -129,12 +123,6 @@ export const createAnvilTestClient = <chain extends Chain>(
let automine: boolean;

return {
tracing: {
txs: true,
calls: false,
nextCall: false,
},

async timestamp() {
const latestBlock = await client.getBlock();

Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3fa1e04

Please sign in to comment.