Skip to content

Commit

Permalink
fix: self reference pathing
Browse files Browse the repository at this point in the history
fix: self reference pathing
  • Loading branch information
cgilbe27 authored Oct 18, 2024
2 parents 3bc5b99 + 2968cbc commit f79e404
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 f79e404

@github-actions
Copy link

Choose a reason for hiding this comment

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

Lines Statements Branches Functions
Coverage: 94%
95.43% (879/921) 80.66% (171/212) 93.92% (294/313)

Please sign in to comment.