Enable encrypted notes for all chains & udpate caches

This commit is contained in:
Theo 2023-07-18 21:15:47 -07:00
parent 122d28789b
commit 56c88f9fa8
196 changed files with 16 additions and 14 deletions

@ -1,6 +1,5 @@
export const blockSyncInterval = 10000 export const blockSyncInterval = 10000
export const enabledChains = ['1', '5', '10', '56', '100', '137', '43114', '42161'] export const enabledChains = ['1', '5', '10', '56', '100', '137', '42161', '43114']
export const chainsWithEncryptedNotes = ['1', '5', '56', '100', '137']
export default { export default {
netId1: { netId1: {
rpcCallRetryAttempt: 15, rpcCallRetryAttempt: 15,
@ -402,21 +401,17 @@ export default {
multicall: '0xe86e3989c74293Acc962156cd3F525c07b6a1B6e', multicall: '0xe86e3989c74293Acc962156cd3F525c07b6a1B6e',
echoContractAccount: '0xa75BF2815618872f155b7C4B0C81bF990f5245E4', echoContractAccount: '0xa75BF2815618872f155b7C4B0C81bF990f5245E4',
rpcUrls: { rpcUrls: {
communityRPC: { publicRpc1: {
name: 'Tornado RPC', name: 'Avalanche RPC',
url: 'https://avalanche-rpc.tornado.ws/ext/bc/C/rpc' url: 'https://endpoints.omniatech.io/v1/avax/mainnet/public'
}, },
meowRPC: { meowRPC: {
name: 'Meow RPC', name: 'Meow RPC',
url: 'https://avax.meowrpc.com' url: 'https://avax.meowrpc.com'
}, },
publicRpc1: { communityRPC: {
name: 'Avalanche RPC', name: 'Tornado RPC',
url: 'https://api.avax.network/ext/bc/C/rpc' url: 'https://avalanche-rpc.tornado.ws/ext/bc/C/rpc'
},
oneRpc: {
name: '1RPC',
ulr: 'https://1rpc.io/avax/'
} }
}, },
tokens: { tokens: {

@ -1,6 +1,6 @@
import { uniqBy } from 'lodash' import { uniqBy } from 'lodash'
import networkConfig, { enabledChains, chainsWithEncryptedNotes } from '../networkConfig' import networkConfig, { enabledChains } from '../networkConfig'
import { loadCachedEvents, save } from './helpers' import { loadCachedEvents, save } from './helpers'
@ -68,7 +68,7 @@ async function main() {
for (let i = 0; i < enabledChains.length; i++) { for (let i = 0; i < enabledChains.length; i++) {
const netId = enabledChains[i] const netId = enabledChains[i]
if (netId === chainsWithEncryptedNotes[i]) updateEncrypted(netId) updateEncrypted(netId)
await updateCommon(netId) await updateCommon(netId)
} }

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -0,0 +1,2 @@
xÚ}ĐËjSQŕůyŠÍwđ_öËĚÄůâ`_i0&<26>¦ HßÝA-µ|_”~.)Ą´ŢŻë.­đCÄ
î­H=°m]¶,ŃöčĐ'R4µăáăŔőáµ7ÇXwiEÔ@Žěoy=_Ű·ĎĎß븭»<14>ŞDżłËóů|š§qűTž_ďq W±^<5E>J'<27>)-¬UíE´»ˇ)ąőaS©<53>RT\ŮU‡ľÝŢoĺňTÚýt˝üŻ Ęv'"˛ÜÍĘłeŤě•y ˘™zD*MÝ:4µG”uIéĺá_3lđDŽ®yşđFĽ/[Ű:€°Ú1äPŃĘ_fLh¨ŮÉB˙c†„úZés+G#Ă<>HÓ}­¤AÓ†9<14>ŽŤjs*śGŘśď˘ĺˇDx<08>MŇ>Ů@ϢӢ!dć†ÔÚ@'Ţ˝K†N„ëŇËňuůAČťŁ

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -0,0 +1,2 @@
x<EFBFBD>ֱ1
€0 @ׁ»<D781>9C<39>$ַ)₪¬´U0המ¾<17>h<74><EFBFBD>?C7¡ת|<7C>^4¨«5»׀Ha <0A>;´<>~

@ -0,0 +1,2 @@
ÁK
ƒ0…ѽ|ã;øÕ˜Ê]Ž!”:ðÑBCöî9<C3AE>ž³xã1ÄYÿ¿ÄZ¯o-?ÜXïm+n]Ü{½ÜbÀ9‰/bÂ!NbÆ!2ŽÞûsý

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More