File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1010 {
1111 "chain-id" : " blast" ,
1212 "interval" : " 10m" ,
13- "endpoint" : " https://rpc.blast.io"
13+ "rpc- endpoint" : " https://rpc.blast.io"
1414 }
1515]
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ async function loadConfig(configPath: string): Promise<LoadedConfig[]> {
4545 z . strictObject ( {
4646 "chain-id" : z . string ( ) ,
4747 interval : z . string ( ) ,
48- endpoint : z . string ( ) . optional ( ) ,
48+ "rpc- endpoint" : z . string ( ) . optional ( ) ,
4949 } ) ,
5050 ) ;
5151 const configContent = ( await import ( configPath , {
@@ -68,13 +68,13 @@ async function loadConfig(configPath: string): Promise<LoadedConfig[]> {
6868 `Multiple contracts found for chain ${ config [ "chain-id" ] } , check contract manager store.` ,
6969 ) ;
7070 }
71- if ( config . endpoint ) {
71+ if ( config [ "rpc- endpoint" ] ) {
7272 const evmChain = firstContract . chain ;
7373 firstContract . chain = new EvmChain (
7474 evmChain . getId ( ) ,
7575 evmChain . isMainnet ( ) ,
7676 evmChain . getNativeToken ( ) ,
77- config . endpoint ,
77+ config [ "rpc- endpoint" ] ,
7878 evmChain . networkId ,
7979 ) ;
8080 }
You can’t perform that action at this time.
0 commit comments