Skip to content

Commit

Permalink
Check for accessListLength to determine tx type
Browse files Browse the repository at this point in the history
  • Loading branch information
Inkvi committed Jun 27, 2024
1 parent ce7e715 commit 494822e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ const main = async () => {
const kzg = await loadKZG()

let batcherAddress = '0xb79c84166a348b38894bafa95b4f8e286e325e1e';
const txType: number = 3;
const txType: number = 2;

const url = 'http://127.0.0.1:8000'; // Change the URL accordingly
const rpc = "https://eth-sepolia.public.blastapi.io"
const rpc = "https://1rpc.io/sepolia"
const web3 = new Web3(rpc);
const provider = new ethers.JsonRpcProvider(rpc);

Expand Down

0 comments on commit 494822e

Please sign in to comment.