Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Maree <[email protected]>
  • Loading branch information
chrismaree committed Jan 20, 2025
1 parent 021d0bc commit f58743d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions test/svm/SvmSpoke.SlowFill.AcrossPlus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ import {
import { MulticallHandler } from "../../target/types/multicall_handler";
import { common } from "./SvmSpoke.common";
import {
ExecuteSlowRelayLeafDataParams,
ExecuteSlowRelayLeafDataValues,
RequestSlowFillDataParams,
RequestSlowFillDataValues,
ExecuteV3SlowRelayLeafDataParams,
ExecuteV3SlowRelayLeafDataValues,
RequestV3SlowFillDataParams,
RequestV3SlowFillDataValues,
SlowFillLeaf,
} from "../../src/types/svm";
const { provider, connection, program, owner, chainId, setCurrentTime } = common;
Expand Down Expand Up @@ -136,7 +136,7 @@ describe("svm_spoke.slow_fill.across_plus", () => {
// Relay root bundle with slow fill leaf.
const { relayHash, leaf, rootBundleId, proofAsNumbers, rootBundle } = await relaySlowFillRootBundle();

const requestSlowFillValues: RequestSlowFillDataValues = [Array.from(relayHash), leaf.relayData];
const requestSlowFillValues: RequestV3SlowFillDataValues = [Array.from(relayHash), leaf.relayData];
let loadRequestParamsInstructions: TransactionInstruction[] = [];
if (bufferParams) {
loadRequestParamsInstructions = await loadRequestSlowFillParams(program, relayer, requestSlowFillValues[1]);
Expand All @@ -145,7 +145,7 @@ describe("svm_spoke.slow_fill.across_plus", () => {
program.programId
);
}
const requestSlowFillParams: RequestSlowFillDataParams = bufferParams
const requestSlowFillParams: RequestV3SlowFillDataParams = bufferParams
? [requestSlowFillValues[0], null]
: requestSlowFillValues;
const requestIx = await program.methods
Expand All @@ -169,7 +169,7 @@ describe("svm_spoke.slow_fill.across_plus", () => {
{ pubkey: handlerProgram.programId, isSigner: false, isWritable: false },
...multicallHandlerCoder.compiledKeyMetas,
];
const executeSlowRelayLeafValues: ExecuteSlowRelayLeafDataValues = [
const executeSlowRelayLeafValues: ExecuteV3SlowRelayLeafDataValues = [
Array.from(relayHash),
leaf,
rootBundleId,
Expand All @@ -189,7 +189,7 @@ describe("svm_spoke.slow_fill.across_plus", () => {
program.programId
);
}
const executeSlowRelayLeafParams: ExecuteSlowRelayLeafDataParams = bufferParams
const executeSlowRelayLeafParams: ExecuteV3SlowRelayLeafDataParams = bufferParams
? [executeSlowRelayLeafValues[0], null, null, null]
: executeSlowRelayLeafValues;
const executeIx = await program.methods
Expand Down

0 comments on commit f58743d

Please sign in to comment.