Преглед на файлове

clients/js: replace wormscan with wormholescan in urls (#3298)

Ben Guidarelli преди 2 години
родител
ревизия
251e6c4a64
променени са 2 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 2 2
      clients/js/src/cmds/editVaa.ts
  2. 1 1
      node/hack/release_verification/guardian_vaa_stats.go

+ 2 - 2
clients/js/src/cmds/editVaa.ts

@@ -3,14 +3,14 @@
 // take a guardian secret as input.
 //
 // Sign a VAA using signatures from wormscan:
-//   worm edit-vaa -n mainnet --vaa $VAA --wormscanurl https://api.wormscan.io/api/v1/observations/1/0000000000000000000000000000000000000000000000000000000000000004/651169458827220885
+//   worm edit-vaa -n mainnet --vaa $VAA --wormscanurl https://api.wormholescan.io/api/v1/observations/1/0000000000000000000000000000000000000000000000000000000000000004/651169458827220885
 //
 // Create the same VAA from scratch:
 //   worm edit-vaa -n mainnet \
 //     --ec 1 --ea 0x0000000000000000000000000000000000000000000000000000000000000004 \
 //     --gsi 3 --sequence 651169458827220885 --nonce 2166843495 --cl 32 \
 //     --payload 000000000000000000000000000000436972636c65496e746567726174696f6e020002000600000000000000000000000009fb06a271faff70a651047395aaeb6265265f1300000001 \
-//     --wormscanurl https://api.wormscan.io/api/v1/observations/1/0000000000000000000000000000000000000000000000000000000000000004/651169458827220885
+//     --wormscanurl https://api.wormholescan.io/api/v1/observations/1/0000000000000000000000000000000000000000000000000000000000000004/651169458827220885
 //
 // Sign a VAA using the testnet guardian key:
 //   worm edit-vaa --vaa $VAA --gs $TESTNET_GUARDIAN_SECRET

+ 1 - 1
node/hack/release_verification/guardian_vaa_stats.go

@@ -26,7 +26,7 @@ import (
 )
 
 func getValidatorIndexForChain(chainId vaa.ChainID, onlyafter time.Time) (map[uint8]int, error) {
-	url := fmt.Sprintf("https://api.wormscan.io/api/v1/vaas/%d?page=1&pageSize=10&sortOrder=DESC", chainId)
+	url := fmt.Sprintf("https://api.wormholescan.io/api/v1/vaas/%d?page=1&pageSize=10&sortOrder=DESC", chainId)
 	method := "GET"
 
 	client := &http.Client{}