Skip to content

Commit

Permalink
Move RPC oracles to a separate subfolder
Browse files Browse the repository at this point in the history
LogvinovLeon committed May 28, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent b1f0db7 commit b501845
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { describe, expect, it } from 'vitest';
import { createMockMultiChainClient } from '../../../ethereum/mockClient.js';
import { OFFSETS, getTransactionOracle } from './transactionOracle.js';
import { MAX_DATA_LEN_M } from './common/txConfig.js';
import { padArray } from '../../../util/array.js';
import { MAX_DATA_LEN_M } from './common/txConfig.js';
import { ZERO_PAD_VALUE } from '../common/const.js';
import { txProofConfigM } from './common/proofConfig/tx.js';
import { OFFSETS, getTransactionOracle } from './transactionOracle.js';

describe('getTransactionOracle', () => {
it('success', async () => {
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { Transaction } from 'viem';
import { MAX_DATA_LEN_M } from '../common/txConfig.js';
import { ForeignCallOutput } from '@noir-lang/noir_js';
import { padArray } from '../../../../util/array.js';
@@ -8,6 +7,7 @@ import { ZERO_PAD_VALUE, MAX_TRIE_NODE_LEN } from '../../common/const.js';
import { encodeField, encodeAddress, encodeU128, encodeHex, encodeBytes, encodeProof } from '../../common/encode.js';
import { txProofConfigM } from '../common/proofConfig/tx.js';
import { Proof } from '../../../../ethereum/proof.js';
import { Transaction } from 'viem';

export enum TX_OFFSETS {
NONCE,

0 comments on commit b501845

Please sign in to comment.