Skip to content

Commit

Permalink
fix a bit more
Browse files Browse the repository at this point in the history
  • Loading branch information
bh2smith committed May 8, 2024
1 parent d79abdd commit b0ec982
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Lint & Unit Test
run: |
yarn lint
yarn test utils
yarn test unit
# These are only relevant for e2e tests
# env:
# NEAR_MULTICHAIN_CONTRACT: multichain-testnet-2.testnet
Expand Down
2 changes: 1 addition & 1 deletion src/chains/ethereum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import { MultichainContract } from "../mpcContract";
import BN from "bn.js";
import { buildTxPayload, addSignature, populateTx } from "../utils/transaction";
import { Network } from "../network";
import { pickValidSignature } from "../utils/getSignature";
import { pickValidSignature } from "../utils/signature";

export class NearEthAdapter {
readonly mpcContract: MultichainContract;
Expand Down
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export * from "./chains/ethereum";
export * from "./mpcContract";
export * from "./chains/near";
export * from "./mpcContract";
export * from "./types/types";
export * from "./utils/signature";
export * from "./network";
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/utils.kdf.test.ts → tests/unit/utils.kdf.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {
najPublicKeyStrToUncompressedHexPoint,
deriveChildPublicKey,
uncompressedHexPointToEvmAddress,
} from "../src/utils/kdf";
} from "../../src/utils/kdf";

const ROOT_PK =
"ecp256k1:4HFcTSodRLVCGNVcGc4Mf2fwBBBxv9jxkGdiW2S2CA1y6UpVVRWKj6RX7d7TDt65k2Bj3w9FU4BGtt43ZvuhCnNt";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { signatureFromTxHash } from "../src/utils/getSignature";
import { signatureFromTxHash } from "../../src/utils/signature";

describe("utility: get Signature", () => {
const url: string = "https://archival-rpc.testnet.near.org";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { TransactionWithSignature } from "../src";
import { buildTxPayload, addSignature } from "../src/utils/transaction";
import { TransactionWithSignature } from "../../src";
import { buildTxPayload, addSignature } from "../../src/utils/transaction";

describe("Transaction Builder Functions", () => {
it("buildTxPayload", async () => {
Expand Down

0 comments on commit b0ec982

Please sign in to comment.