Josh Siegel
dd2b325784
near/contracts-2: revert this back to 2021 since 2022 breaks a lot of tools
2022-08-24 15:11:05 -04:00
Josh Siegel
4fe9841810
near: initial commit
2022-08-24 15:11:05 -04:00
kev1n-peters
536a97066e
node: configure p2p routing table with bootstrapping nodes ( #1455 )
...
Configure the bootstrapping nodes that we will connect to to seed and refresh
the Routing Table if it becomes empty.
Fixes an issue where the spy stops receiving gossiped messages after the node
is restarted, because the Routing Table becomes empty and is never refreshed.
2022-08-24 18:27:59 +02:00
Csongor Kiss
33f1b28662
scripts: Update scripts/contract-upgrade-governance.sh
...
Now it prints instructions on checking out the current git hash + some refactoring
2022-08-24 16:27:04 +02:00
Csongor Kiss
650beaa79a
solana/terra: delete generate_governance
...
These are superseded by the more general script `scripts/contract-upgrade-governance.sh`
2022-08-24 16:27:04 +02:00
Chirantan Ekbote
1753bb34f0
Send re-observation request when re-broadcasting local observations
...
Currently if an observation hasn't reached quorum within 5 minutes, the
processor will re-broadcast the signed local observation to the other
guardians in the network. However if not enough guardians actually
observed the original tx, then no amount of re-broadcasting will help
the network reach quorum.
Fix this issue by sending a re-observation request whenever we
re-broadcast a signed local observation. This ensures that any
guardians that missed the tx the first time it happened have a chance to
re-observe it and help the network reach quorum.
2022-08-24 17:59:42 +09:00
Chirantan Ekbote
4712a6f774
node/pkg/common: Fix race condition in PostObservationRequest
...
Any goroutine can push into a channel so the current implementation has
a race condition where the channel can become full immediately after the
length check, causing the subsequent send on the channel to block.
Fix this by wrapping the send on the channel with a select block.
Control will fall through to the default case only if the actual send
operation blocks, avoiding the potential race with other goroutines.
2022-08-24 17:59:42 +09:00
Josh Siegel
d724d42cf1
algo/patch2: optins cannot have arguments
2022-08-23 16:07:36 -05:00
Josh Siegel
d3d68fde26
algo/patch: wormhole security patches for algorand
2022-08-23 15:09:42 -05:00
Csongor Kiss
ca43f8629a
terra: Check that bytes32 fits into 20 bytes before truncating ( #1458 )
2022-08-23 21:13:30 +02:00
Csongor Kiss
fd540c91b4
ethereum: Check that bytes32 fits into 20 bytes before truncating ( #1457 )
2022-08-23 14:41:03 -04:00
kev1n-peters
a8cc328fd0
bridge_ui: Recovery should await fetchSignedVAA fix ( #1456 )
2022-08-23 15:48:55 +02:00
Csongor Kiss
9510bb47d9
ethereum: Add property test on quorum
...
It should always be possible to reach quorum
2022-08-23 15:06:04 +02:00
Csongor Kiss
7889eb08ee
ethereum: Fix test name so forge runs it
2022-08-23 15:06:04 +02:00
Paul Noel
639bd3c682
clients/js - initial algorand commit ( #1445 )
...
* clients/js - initial algorand commit
* clients/js: fix merge issue
2022-08-22 09:39:39 -05:00
Csongor Kiss
cf5c390fc6
sdk/js: Use is_vaa_redeemed query in getIsTransferCompletedTerra2
...
This does not require a transaction simulation, and should serve as the
basis for future cosmwasm sdk functions in the `getIsTransferCompleted*`
family.
2022-08-22 16:30:23 +02:00
Csongor Kiss
d10072a33e
cosmwasm: Add is_vaa_redeemed query to token bridge
2022-08-22 16:30:23 +02:00
kev1n-peters
1d05da49e6
bridge_ui: Algorand beta ( #1433 )
2022-08-19 10:42:15 -05:00
Paul Noel
bf45b02c0b
clients/js - initial near commit ( #1442 )
2022-08-19 10:29:57 -05:00
Paul Noel
338e6f2648
clients/js: formatting only change (prettier)
...
Change-Id: I0b8805e0a577f0ef8757a5468c43fcb1083c0825
2022-08-18 16:50:06 +00:00
Paul Noel
a6f75f1aef
clients/js: don't do npm install in Makefile
...
Change-Id: If0374d98a753753ce6559cb7392201b69e056099
2022-08-18 16:50:06 +00:00
ckeun
e47f9e481e
Updated mainnet gov'r cfgs with natives and stables for all chains limits for larger chains ( #1437 )
2022-08-17 11:22:49 -05:00
bruce-riley
15a0f8c86f
New contract addresses ( #1440 )
2022-08-17 11:20:42 -05:00
Csongor Kiss
d43d015c57
solana: Add solana sdk upgrade instructions
2022-08-17 15:30:01 +01:00
Stan Drozd
18eac4e3d3
solana: bump: Rust nightly-2022-07-12, SOL SDK v1.10.31, rust container 1.60
...
solana: use prebuild docker image for 1.10.31
solana: use the right rust version
from https://github.com/solana-labs/solana/blob/v1.10.31/ci/rust-version.sh
nft_bridge: TransportError -> BanksClientError
solana/Dockerfile.wasm: Use rust-toolchain instead of rustup
2022-08-17 15:30:01 +01:00
Stan Drozd
2092484e73
solitaire: shrink stack footprint by boxing FromAccounts::from()
2022-08-17 15:30:01 +01:00
Josh Siegel
5db83ea512
algo/reserve: fix reserve field
2022-08-17 08:41:32 -05:00
bruce-riley
7d956818f0
node: governor tweaks ( #1422 )
...
* Non-critical tweaks for the next scheduled deploy
* Make tests fail if mainnet config is invalid
* Make the test pass
* Add test to verify testnet config
* Add support for included token list to script
* Initial include list and algorand token addresses
* Fix typo in algorand token
* Lowering min notional to zero
2022-08-16 15:22:24 -05:00
ckeun
9ba75ddb97
Updated allow list to include native & stables ( #1436 )
2022-08-16 10:30:08 -05:00
Paul Noel
eae0b51d37
Algorand mainnet deploy ( #1434 )
...
* algorand mainnet deploy
* Changes to sdk/js
* Update sdk changlog
Co-authored-by: Bruce Riley <briley@jumptrading.com>
2022-08-16 10:14:48 -05:00
Josh Siegel
b583708e53
algo/upgrade: testing upgrades for algorand
2022-08-15 15:41:46 -05:00
kev1n-peters
4f08f315f1
bridge_ui: Chain Governor support ( #1421 )
2022-08-15 09:18:01 -05:00
justinschuldt
484db04f79
ensure deterministic batched-vaa contract address
2022-08-15 08:41:40 -05:00
justinschuldt
d7b102df70
add EVM contract for batched VAA development
2022-08-15 08:41:40 -05:00
bruce-riley
99fb46d549
Don't allow obs reqs if the queue is full ( #1429 )
...
Change-Id: Ifb0d038fa3adeddc6226e2289fe9dbfc8e39b4e7
2022-08-15 07:33:45 -05:00
Josh Siegel
3f51c89f30
algo/prod: prod changes
2022-08-15 05:53:59 -05:00
Csongor Kiss
8818d4b8f0
docs: Clarify objective in governor whitepaper
...
Also include a link to the whitepaper from the docs
2022-08-12 14:58:22 +01:00
Paul Noel
696c99f8bb
Algo filter NFT from token selection ( #1242 )
...
* algo/bridge_ui - filter out NFTs from token list
* algo/bridge_ui - filter out NFTs from token list
2022-08-12 08:22:45 -05:00
kev1n-peters
d50ef1c28b
spy_relayer: Terra 2 support ( #1417 )
2022-08-11 16:47:50 -05:00
claudijd
a9363027e7
Switch terra2 to coswasm
2022-08-11 21:54:25 +01:00
Jonathan Claudius
7a96b7de67
Add new sections to SECURITY.md and CONTRIBUTING.md ( #1408 )
...
* Add testing to SECURITY.md
* Add White-hat Bootstrap
* Add node Makefile
* Add chain integrator guidance
* Small tweaks to language
* Tweaks to test coverage and security.md
* Add cosmwasm tests to CONTRIBUTING.md
* Fix typo
* Add deep link to CONTRIBUTING.md
* Update CONTRIBUTING.md
Co-authored-by: Jeff Schroeder <jeffschroeder@computer.org>
* Update SECURITY.md
Co-authored-by: Jeff Schroeder <jeffschroeder@computer.org>
* Update SECURITY.md
Co-authored-by: Jeff Schroeder <jeffschroeder@computer.org>
* Update SECURITY.md
Co-authored-by: Jeff Schroeder <jeffschroeder@computer.org>
* Update SECURITY.md
Co-authored-by: Jeff Schroeder <jeffschroeder@computer.org>
* Update SECURITY.md
Co-authored-by: Jeff Schroeder <jeffschroeder@computer.org>
* Update SECURITY.md
Co-authored-by: Jeff Schroeder <jeffschroeder@computer.org>
* Update SECURITY.md
Co-authored-by: Jeff Schroeder <jeffschroeder@computer.org>
* Update SECURITY.md
Co-authored-by: Jeff Schroeder <jeffschroeder@computer.org>
* Add newline to node Makefile
Co-authored-by: Jeff Schroeder <jeffschroeder@computer.org>
2022-08-11 15:33:24 -04:00
kev1n-peters
9bb598d949
sdk/js: Added getGovernorIsVAAEnqueued functions ( #1410 )
2022-08-10 17:11:58 -05:00
Csongor Kiss
3e63590c10
terra: Don't migrate wrapped assets for now
...
See comment in the code for more context
2022-08-10 22:19:16 +01:00
Csongor Kiss
ce20776f5d
terra: Also allow private key in deploy script
...
The mnemonic might no longer be available.
2022-08-10 22:19:16 +01:00
Bruce Riley
7da21a60b6
Should not govern algorand yet
2022-08-10 14:31:19 -04:00
wonge97
beee9d1cba
Governor Guardian admin commands ( #1416 )
...
* Governor Guardian admin commands
Opening PR describing the types of admin commands that Guardians would have in relation to the Governor security module.
* Update GOVERNOR.md
Small wording tweak to remove a duplicative clause
2022-08-10 13:00:48 -04:00
Bruce Riley
5ca2faa9a3
Governor should handle duplicate coin gecko ids
2022-08-10 12:59:32 -04:00
wonge97
09b33552df
Chain Governor
...
Opening this PR for open feedback on a security feature that Guardians can optionally opt into that would limit the amount of notional value that can be transferred out of a given chain in a given time frame -- this would reduce the damage to the bridge during an existential threat scenario.
2022-08-10 12:20:34 -04:00
Josh Siegel
e738eda7fd
algo/audit: More security improvements
2022-08-10 10:17:58 -05:00
Josh Siegel
5470ed134a
algo/audit: address KS-RL-12 @ gusc1a-ossdev-jsl5
2022-08-10 10:17:58 -05:00