From afb88f2d87db8055472685ea3bd3cdb321aac062 Mon Sep 17 00:00:00 2001 From: Elias Rad <146735585+nnsW3@users.noreply.github.com> Date: Wed, 31 Jul 2024 18:00:42 +0300 Subject: [PATCH 1/4] fix query_proxy.md --- docs/query_proxy.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/query_proxy.md b/docs/query_proxy.md index 1baedd8f2b..e74b2f7ff7 100644 --- a/docs/query_proxy.md +++ b/docs/query_proxy.md @@ -143,7 +143,7 @@ The following are the Solana call types. Both require the `chain` parameter plus - `solAccount`, requires the `account` parameter. - `solPDA`, requires the `programAddress` parameter. -The Solana account and and program address can be expressed as either a 32 byte hex string starting with "0x" or as a base 58 value. +The Solana account and program address can be expressed as either a 32 byte hex string starting with "0x" or as a base 58 value. #### Wild Card Contract Addresses From c8802a59c68a6bbfdb915bb3debf16ffaf2349d0 Mon Sep 17 00:00:00 2001 From: Elias Rad <146735585+nnsW3@users.noreply.github.com> Date: Wed, 31 Jul 2024 18:03:35 +0300 Subject: [PATCH 2/4] fix Messages.sol --- ethereum/contracts/Messages.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethereum/contracts/Messages.sol b/ethereum/contracts/Messages.sol index c70efbb6a1..3663dac222 100644 --- a/ethereum/contracts/Messages.sol +++ b/ethereum/contracts/Messages.sol @@ -12,7 +12,7 @@ import "./libraries/external/BytesLib.sol"; contract Messages is Getters { using BytesLib for bytes; - /// @dev parseAndVerifyVM serves to parse an encodedVM and wholy validate it for consumption + /// @dev parseAndVerifyVM serves to parse an encodedVM and wholly validate it for consumption function parseAndVerifyVM(bytes calldata encodedVM) public view returns (Structs.VM memory vm, bool valid, string memory reason) { vm = parseVM(encodedVM); /// setting checkHash to false as we can trust the hash field in this case given that parseVM computes and then sets the hash field above From 84b1ee1c94b471afacbd83ad9476613c6f354382 Mon Sep 17 00:00:00 2001 From: Elias Rad <146735585+nnsW3@users.noreply.github.com> Date: Wed, 31 Jul 2024 18:08:56 +0300 Subject: [PATCH 3/4] fix README.md --- ethereum/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethereum/README.md b/ethereum/README.md index febab6c22e..c126518b37 100644 --- a/ethereum/README.md +++ b/ethereum/README.md @@ -53,7 +53,7 @@ ethereum$ MNEMONIC= ./sh/deployTokenBridgeShutdown.sh #### Generate Flattened Source -To generated the flattened source files to verify the contracts using the explorer UI +To generate the flattened source files to verify the contracts using the explorer UI ```shell ethereum$ ./sh/flatten.sh From b6661d1c4a1936b923643172354588eed0e473c3 Mon Sep 17 00:00:00 2001 From: Elias Rad <146735585+nnsW3@users.noreply.github.com> Date: Wed, 31 Jul 2024 18:12:07 +0300 Subject: [PATCH 4/4] fix token_upgrades.md --- terra/docs/token_upgrades.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terra/docs/token_upgrades.md b/terra/docs/token_upgrades.md index 570db603ae..69f9dba5e5 100644 --- a/terra/docs/token_upgrades.md +++ b/terra/docs/token_upgrades.md @@ -56,5 +56,5 @@ Currently there is no implementation of a token contract migration function that ## Historical note: -In Aug 2022, an attempt to upgrade the the token contracts was made, but failed due to the gas error: +In Aug 2022, an attempt to upgrade the token contracts was made, but failed due to the gas error: https://finder.terra.money/classic/tx/FE39E9549770F59E2AAA1C6B0B86DDF36A4C56CED0CFB0CA4C9D4CC9FBE1E5BA. A subsequent upgrade changed the code id of *new* wrapped contracts to 767, but did not perform the migration for old contracts. This means that currently (as of Dec 2023), some wrapped tokens are still on the old code id, and some (the ones deployed after Aug 2022) are on the new code. This discrepancy is fine in the current case, because it only affects the rendering of the token name (https://github.com/wormhole-foundation/wormhole/commit/c832b123fcfb017d55086cb4d71241370ed270c6).