Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
yu23ki14 committed Sep 30, 2024
1 parent 5f66bb3 commit d17d9f7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 45 deletions.
4 changes: 2 additions & 2 deletions pkgs/cli/src/services/wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ export const getProfiles = () => {
return JSON.parse(data) as Profile[];
};

export const getWalletByName = (name: string) => {
export const getWallet = (name?: string) => {
const profiles = getProfiles();
const profile = profiles.find((p) => p.name === name);
const profile = profiles.find((p) => p.name === name) || profiles[0];

if (!profile) throw "Profile not found.";

Expand Down
2 changes: 1 addition & 1 deletion pkgs/contract/test/BigBang.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ describe("BigBang", () => {
topics: log.topics,
});
if (decodedLog.eventName == "Executed") {
console.log(decodedLog);
expect(decodedLog.args.owner).to.be.equal(address1.account?.address!);
}
} catch (error) {}
}
Expand Down
42 changes: 0 additions & 42 deletions pkgs/contract/test/Wallet.ts

This file was deleted.

0 comments on commit d17d9f7

Please sign in to comment.