Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Mithreum committed Dec 4, 2024
1 parent e1620e3 commit 9b7e968
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
5 changes: 0 additions & 5 deletions src/chains/ton.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ import { EmmetJettonLP } from "../contracts/ton/pools/tact_EmmetJettonLP";
import { EmmetTonLP } from "../contracts/ton/pools/ton/tact_EmmetTonLP";
import { EmmetJettonLPWallet } from "../contracts/ton/pools/tact_EmmetJettonLPWallet";
import { sha256_sync } from "@ton/crypto";
// import { Consensus } from "@emmet-contracts/web3";
// import { getConsensus } from "./getConsensus";

export type TonGasArgs = { value: bigint; bounce?: boolean | null | undefined };

Expand Down Expand Up @@ -142,9 +140,6 @@ export async function tonHandler({

const bridgeReader = fetchClient().open(Bridge.fromAddress(bridge));

// CONSENSUS
// const consensus: Consensus = await getConsensus();


// F U N C T I O N S
async function getLastTxHashInBase64ForAddress(addr: Address) {
Expand Down
8 changes: 6 additions & 2 deletions src/factory/rpcs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ export const MainnetRPCUri = {
"https://api.avax.network/ext/bc/C/rpc",
"https://avalanche.public-rpc.com",
"https://avalanche-c-chain-rpc.publicnode.com",
"https://avalanche.blockpi.network/v1/rpc/public",
"https://avax.meowrpc.com",
"https://ava-mainnet.public.blastapi.io/ext/bc/C/rpc",
"https://avax-pokt.nodies.app/ext/bc/C/rpc",
//"https://avalanche.blockpi.network/v1/rpc/public",
// "https://avax-pokt.nodies.app/ext/bc/C/rpc",
],
BSC: [
Expand All @@ -21,9 +24,10 @@ export const MainnetRPCUri = {
"https://bsc-dataseed3.defibit.io"
],
POLYGON: [
"https://polygon-bor-rpc.publicnode.com",
"https://polygon-bor-rpc.publicnode.com",
"https://1rpc.io/matic",
"https://rpc.ankr.com/polygon",
"https://polygon.drpc.org"
// "https://polygon.blockpi.network/v1/rpc/public",
]

Expand Down

0 comments on commit 9b7e968

Please sign in to comment.