Skip to content

Commit

Permalink
fix: self reference pathing
Browse files Browse the repository at this point in the history
  • Loading branch information
cgilbe27 committed Oct 18, 2024
1 parent d89c408 commit 2968cbc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/sdk/tx/account.test.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { accountFromEthAccount, accountFromNibiru } from "./account"
import { EthAccount } from "src/protojs/eth/types/v1/account"
import { Any } from "src/protojs/google/protobuf/any"
import { EthAccount } from "../../protojs/eth/types/v1/account"
import { Any } from "../../protojs/google/protobuf/any"
import Long from "long"
import * as cosmjs from "@cosmjs/stargate"
import { decodeOptionalPubkey } from "@cosmjs/proto-signing"
import { BaseAccount } from "src/protojs/cosmos/auth/v1beta1/auth"
import { BaseAccount } from "../../protojs/cosmos/auth/v1beta1/auth"

// Mock decodeOptionalPubkey
jest.mock("@cosmjs/proto-signing", () => ({
Expand Down
6 changes: 3 additions & 3 deletions src/sdk/tx/account.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { decodeOptionalPubkey } from "@cosmjs/proto-signing"
import { Account, accountFromAny, AccountParser } from "@cosmjs/stargate"
import { EthAccount } from "src/protojs/eth/types/v1/account"
import { Any } from "src/protojs/google/protobuf/any"
import { EthAccount } from "../../protojs/eth/types/v1/account"
import { Any } from "../../protojs/google/protobuf/any"
import { assert } from "@cosmjs/utils"
import { BaseAccount } from "src/protojs/cosmos/auth/v1beta1/auth"
import { BaseAccount } from "../../protojs/cosmos/auth/v1beta1/auth"

/**
* Converts an EthAccount to a general Cosmos Account object.
Expand Down

1 comment on commit 2968cbc

@CalicoNino
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ughh, wasn't able to catch that locally

Please sign in to comment.