Skip to content

Commit cd4ae5e

Browse files
authored
fix: use quicknode provider for test on Abstract chain (#99)
1 parent c51a61c commit cd4ae5e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ ALCHEMY_API_KEY="your-alchemy-api-key-here"
1111
QUICKNODE_BNB_CHAIN_API_KEY="your-quicknode-bnb-key"
1212
QUICKNODE_MANTLE_API_KEY="your-quicknode-mantle-key"
1313
QUICKNODE_MODE_API_KEY="your-quicknode-mode-key"
14+
QUICKNODE_ABSTRACT_API_KEY="your-quicknode-abstract-key"

src/tests/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1540,7 +1540,7 @@ test("parse a swap on Abstract (PENGU for USDC.e)", async () => {
15401540
const publicClient = createPublicClient({
15411541
chain: abstract,
15421542
transport: http(
1543-
`https://abstract-mainnet.g.alchemy.com/v2/${process.env.ALCHEMY_API_KEY}`
1543+
`https://serene-convincing-replica.abstract-mainnet.quiknode.pro/${process.env.QUICKNODE_ABSTRACT_API_KEY}/`
15441544
),
15451545
}) as PublicClient<Transport, Chain>;
15461546

0 commit comments

Comments
 (0)