Hernán Di Pietro
b124740baf
Added Chai/ Chai-as-promised
2021-10-01 17:30:27 -03:00
Hernán Di Pietro
4234a1d1b1
Merge branch 'master' of https://github.com/randlabs/PriceCasterService
2021-10-01 15:06:47 -03:00
Hernán Di Pietro
43e68eb9b8
Creation successful. Fixes + test deployment Betanet
2021-10-01 15:06:33 -03:00
Leo
92d3ee577c
node/pkg/solana: log quorum and emitter chain on settled VAAs
...
Change-Id: I8162ed3bfb77d0708a9dd910eb1ba757d73bc246
2021-10-01 16:18:16 +02:00
Hernán Di Pietro
d46fc37959
Update README.md
2021-10-01 11:08:08 -03:00
Hernán Di Pietro
0e5d8e60e3
Create README.md
2021-10-01 11:07:08 -03:00
Hernán Di Pietro
cc155fa156
Update README.md
2021-10-01 11:07:04 -03:00
Hernán Di Pietro
0559f2c6b0
Missing files.
2021-10-01 11:01:43 -03:00
Hernán Di Pietro
2f740d547e
Added PriceCasterLib support library
2021-10-01 11:00:20 -03:00
Hernán Di Pietro
082032b2a4
Added ESLINT
2021-10-01 11:00:02 -03:00
Leo
3ebde5ded9
node/pkg/solana: multiple empty retries
...
Change-Id: Ic5558220039a0874e06527a473e6ee3b0accdf54
2021-10-01 15:19:36 +02:00
Leo
d5062af533
node/pkg/solana: silently ignore non-PostMessage transactions
...
These were already ignored, but loudly.
Change-Id: Ifdd2199593ae372a5f598a018a782db112108f16
2021-10-01 14:46:20 +02:00
Leo
2a1eaf5163
node/pkg/solana: demote log message to warning
...
This seems to happen quite frequently.
Change-Id: Ibb9b975566974974e0a3ba61ae126f49ace6a99a
2021-10-01 14:40:55 +02:00
Leo
e7df95839d
node/pkg/solana: retry skipped slots only once
...
Adds extra logging to validate hypothesis that we've found a bug in
GetConfirmedBlocks, rather than a general issue.
Change-Id: Ia3acfd7fa393091a3892c453433255cfbe38e4a0
2021-10-01 14:06:51 +02:00
Leo
b771ad0e2a
node/pkg/solana: move recovery date to Oct 5
...
Change-Id: Ib4b330b7d651cf5ccb5e349d805a62cd43a029d6
2021-10-01 12:38:17 +02:00
Leo
c7bab38c6e
node: fix emitter address encoding for BridgeRegisterChain
...
Change-Id: I2ffef1400448f86feb5bd9dcf89903303649cdf4
2021-10-01 12:27:48 +02:00
Leo
8979ccbeae
node: configurable module for BridgeRegisterChain
...
Change-Id: If2685e9fee4997c80a00895c244793c52f30214c
2021-10-01 12:26:05 +02:00
Leo
a42eb38f2e
node/pkg/solana: remove GetConfirmedBlocks optimization
...
We encountered a bug on mainnet where GetConfirmedBlocks with
commitment level Finalized would fail to return a valid block.
Remove the optimization and simply fetch every slot.
Change-Id: Idce939c6c5f3303a5046efdfd31833fab3d465ba
2021-10-01 09:43:18 +00:00
Leo
16391185ec
node/pkg/processor: log quorum for unsubmitted nil VAAs
...
Change-Id: I4b29e2813209195c7e1698afb6772f2b18ebfde9
2021-10-01 09:43:18 +00:00
Leo
096707a9c4
node/pkg/processor: fix crash when observation is made while gs is nil
...
Rare race condition. Found locally when manually injecting observations.
Change-Id: Id10d10ad4cfe38b5f4b00a30978940e928e6bc96
2021-10-01 09:43:18 +00:00
Leo
0feaed4e80
node: include and log TxHash field in SignedObservation
...
Optional metadata for debugging. Allows tying a received observation
to an on-chain transaction even if the node missed the observation.
Change-Id: Ie50c10c8ab7f65469555674d90645f91092fb2e3
2021-10-01 09:43:18 +00:00
Leo
7a4cac2dde
node/pkg/solana: add more logging to transaction parsing
...
Change-Id: I2529b0c0a7aa7d94802598a7fffbcdbe0ddca5bc
2021-10-01 09:43:18 +00:00
Leo
6ab0fe3855
node/pkg/processor: add more log fields to message observations
...
Change-Id: I19d804b6668623943f798356a7ed81c1000fa377
2021-10-01 09:43:18 +00:00
Leo
ef34c30049
node/pkg/solana: retry account fetches
...
Change-Id: I310a94a065e883b1a0e200dbd3321d2ec2e03fc0
2021-10-01 09:43:18 +00:00
Leo
2022b55fd4
node: add token bridge governance VAA support
...
Change-Id: I731161f03590ce73145a1686eb2e62cfe19c8223
2021-10-01 09:43:18 +00:00
Leo
7998d04554
node/pkg/processor: increase timeout for observed VAAs to 24 hours
...
In cases where we observed a VAA, there is no possibility of gossip DoS.
Increase the timeout to 24 hours to facilitate manual interventions
(like submission of governance VAAs or node restarts/catchup).
Keep the existing five minute timeout for observation-less VAAs.
Change-Id: Ic626108190bd60cf812daadbe191b31cc48c7296
2021-10-01 09:43:18 +00:00
Hendrik Hofstadt
20ce9e1e5c
Fix CPI poster
...
Change-Id: I5a1d13f5256cdb13a431d1bf5cb2c42506de9920
2021-10-01 09:03:25 +00:00
Hernán Di Pietro
221d577244
Fixes and testing scripts.
2021-09-30 19:04:16 -03:00
Hernán Di Pietro
0d38aca492
First commit
2021-09-30 15:46:23 -03:00
Hernán Di Pietro
f48637b67f
Initial commit
2021-09-30 15:34:21 -03:00
Hendrik Hofstadt
b01ad107e7
Add governance VAA initializer
...
Change-Id: I4c5a050e5b17ed8b278f91e26bf61adacc45ecc5
2021-09-30 16:57:04 +00:00
Hendrik Hofstadt
6bbc1f7ad4
node: Add chain registration payload
...
Change-Id: I0c7d7a5c3d776c924e8ab54314b8b99ab2483a4f
2021-09-30 15:47:53 +00:00
Evan Gray
75880ec74a
bridge_ui: support custom Solana RPC
...
Change-Id: I30ca33a10e0a948615df36d4631b70f8a4d762d6
2021-09-30 15:42:23 +00:00
Evan Gray
d14277f3ca
bridge_ui: WETH warning
...
Change-Id: Ib1c4df3309ec4e90f29160bb7ce13542df084982
2021-09-30 15:42:23 +00:00
Hendrik Hofstadt
18f3262b89
Add second eth devnet to emulate bsc
...
Change-Id: Ia28078cdd843540bc6d5d2a3db4787637c752245
2021-09-30 15:00:27 +00:00
Chase Moran
d8a8d5722a
lp_ui: ethereum migration pool functionality
...
Change-Id: Ibdf24e1f90e711e5284016045c0c7d9d413be4ac
2021-09-30 14:30:25 +00:00
Chase Moran
7e6123a3a8
bridge_ui: compile TVL hook
...
Change-Id: I706f37155d2e09312998aef9725226928eeeefb1
2021-09-30 14:30:25 +00:00
Leo
b641101158
node/pkg/solana: add two more transactions to be recovered
...
Change-Id: I54e6ca7a54a9c62e93eeaf8abcd2ef6f057eee8d
2021-09-30 10:26:07 +02:00
Leo
d91e16e077
node/pkg/solana: fetch recovery config from repository
...
Chances are that more requests will fail until the scheduled
recovery date, so we can't hardcode them.
Change-Id: Ief45c1f7a455827b32e154fae5c8eed366dd3ff7
2021-09-30 10:22:14 +02:00
Leo
6e4d578041
node/pkg/solana: fix s.logger data race
...
Surfaced by the retry code:
https://gist.github.com/leoluk/b5d05ed27269b077b834eda771a50058
Accessing s.logger from a goroutine will cause a data race. We didn't
previously encounter this since supervisor would wait for Run() to
return before rescheduling it.
Change-Id: I56a7503081485e58975103d0e25e0c2baf19ca08
2021-09-30 01:05:37 +02:00
Leo
c99c11db0a
node/pkg/solana: add scheduled account recovery for 2021-10-03Z11:00
...
Test: https://gist.github.com/leoluk/b613cf717b3047b67d0baf50c892a651
Change-Id: I8b51f940584227887724396094771c14fb4c829c
2021-09-30 00:43:06 +02:00
Leo
a6fe7fc54c
node/pkg/solana: add delay for retries
...
Change-Id: I106300e802420ef50f1309825aecf37bb18d4c20
2021-09-29 23:16:04 +02:00
Reisen
49c3be0b79
solana/token-program: derive metadata address in client
...
Change-Id: Ia5e54725c13cc2725efa88b9848910829de48463
2021-09-28 16:01:21 +00:00
Leo
d34e16be66
docs: point out that node keys should be persisted
...
Hi Joe
Change-Id: Id6434199ed3f96cd06cb4ef6d57216d79cef3dc6
2021-09-28 12:58:27 +00:00
Leo
a307ddd55a
design: update data availability design doc
...
We decided not to implement state sync.
Change-Id: Ie6ff6e2f0d3078b637a0d9e91daeb17a8b30fcb0
2021-09-28 12:58:27 +00:00
Leo
7887c289d9
docs: undocument systemd sockets
...
We don't need zero-downtime restarts anymore, and the socket unit
lifecycle is annoying to deal with (the socket can't be enabled if
the unit is already started). Much easier to use the capability.
Change-Id: I9d3cb5428eb0e35554866e6e42b7759569b12efb
2021-09-28 12:58:27 +00:00
valentin
ffcdc3f3f2
add token migration contract
...
Change-Id: I2bc3fb4d99f5a08452bc2defd3597ec7ad300523
2021-09-28 10:35:34 +00:00
Evan Gray
c565152c13
bridge_ui: token picker styling imrpovements
...
fixes https://github.com/certusone/wormhole/issues/484
fixes https://github.com/certusone/wormhole/issues/490
fixes https://github.com/certusone/wormhole/issues/487
Change-Id: I7405e17371dfde2921e63604d8353ebffed975c9
2021-09-27 15:18:45 -04:00
Chase Moran
77ecc035a3
bridge_ui: rework of target section on transfer screen
...
fixes https://github.com/certusone/wormhole/issues/404
Change-Id: I405802f3a6e1695e8d1517bd834e820d6369fa05
2021-09-27 15:57:37 +00:00
Chase Moran
66d75c97a3
bridge_ui: fix crash in solana token picker
...
Change-Id: I27f7b2b380a5f1a9dcd48468bc011b5e17e630db
2021-09-27 15:57:26 +00:00