Commit Graph

30 Commits

Author SHA1 Message Date
Jayant Krishnamurthy 1801107a54 add commands 2022-12-29 15:19:42 +00:00
Jayant Krishnamurthy 02498ab42f config 2022-12-28 10:37:45 -08:00
Jayant Krishnamurthy c3fb33ecaa config 2022-12-28 10:34:23 -08:00
Jayant Krishnamurthy beb6813e1f config 2022-12-28 10:13:27 -08:00
Jayant Krishnamurthy 4786447564 config 2022-12-28 10:13:07 -08:00
Jayant Krishnamurthy f8bb00d589 config 2022-12-28 10:11:06 -08:00
Jayant Krishnamurthy c2c236777b config 2022-12-28 09:51:54 -08:00
Jayant Krishnamurthy 1eb82bf135 config 2022-12-28 09:44:55 -08:00
Jayant Krishnamurthy d436a66f2f gr 2022-12-28 09:39:16 -08:00
Jayant Krishnamurthy 1d8f34cc69 stuff 2022-12-28 09:35:23 -08:00
Jayant Krishnamurthy cce65a01c5 add upgrade contract 2022-12-28 08:42:19 -08:00
Jayant Krishnamurthy a7ff9b2f82 fix ci 2022-12-28 07:41:58 -08:00
Jayant Krishnamurthy c563d7c488 store things as Coin 2022-12-27 14:25:38 -08:00
Jayant Krishnamurthy 344f06db0a cleanup some stuff 2022-12-27 11:44:07 -08:00
Jayant Krishnamurthy a9a7d7a2fe update deployment code 2022-12-27 10:50:44 -08:00
Jayant Krishnamurthy 927c8dbde1 docs 2022-12-27 10:31:50 -08:00
Jayant Krishnamurthy 7af0bfa219 merge 2022-12-27 10:23:56 -08:00
Jayant Krishnamurthy 1d2dcfe3d7 initial commit for governance instructions 2022-12-27 10:22:57 -08:00
Jayant Krishnamurthy 6b07ae607c
Add query methods to cosmwasm contract (#441)
* implement query operations

* more governance

* revert

* update the terra sdk?

* wtf

* fix ci

* add tests

Co-authored-by: Jayant Krishnamurthy <jkrishnamurthy@jumptrading.com>
2022-12-27 09:59:48 -08:00
Jayant Krishnamurthy 6b29d9704a
[cosmos] Pay fee + mock wormhole for testing (#433)
* added handler

* create binary for vaas

* updating tests

* add fee test

* blah

* simplify

* simplify

* cleanup5

* Add fees to the terra relayer

Co-authored-by: Jayant Krishnamurthy <jkrishnamurthy@jumptrading.com>
Co-authored-by: Ali Behjati <bahjatia@gmail.com>
2022-12-19 06:44:57 -08:00
Jayant Krishnamurthy 024d73a8a8
[cosmos] Implement set fee governance instruction (#423)
* cosmos stuff

* it builds

* fix existing tests

* adding tests

* adding tests

* tidy

* cleanup

* fix

* update deploy script

* doh

* gr

* mabye

* mabye

* pr comments

Co-authored-by: Jayant Krishnamurthy <jkrishnamurthy@jumptrading.com>
2022-12-13 08:46:07 -08:00
Jayant Krishnamurthy 15708d552d
Fix formatting for new nightly rust (#415)
Co-authored-by: Jayant Krishnamurthy <jkrishnamurthy@jumptrading.com>
2022-12-05 10:02:58 -08:00
Ali Behjati becc216853
Abehjati/repo-improvement (#395)
* Use a new rustfmt file

* Run cosmwasm action only when needed

* Remove pre-commit from remote-executor action

* Fix formatting

* Run precommit for all files

As previous PR was merged without pre-commit
2022-11-25 11:16:58 +01:00
Ali Behjati d6e25d9209
Add pre-commit globally (#393)
* Add pre-commit globally

* Fix CI errors
2022-11-24 14:14:29 +01:00
Ali Behjati b4c8f2e470
Refactor our CW contract + cleanups (#262)
* Use the cw sdk

* Fix clippy warnings

* Use Addr instead of String

* Format the code (cargo +nightly fmt)

* Depend on wormhole git instead of local dependency

* Add error enum

* refactor

* Refactor errors

* certusone->wormhole-foundation rename

It will fix some compile problems

* Build wormhole contract from their repo

* remove wormhole package

* Remove memmap2 patch

It was not needed anymore with the newer
verison of solana (wormhole removed it too)

* Rename pyth-bridge to pyth-cosmwasm
2022-09-02 12:39:51 +02:00
Stanisław Drozd a2a0f6e15b
Start depending on the upstream out-of-tree Wormhole (#258)
* Add out-of-tree dependency on wormhole v2.8.9

This lets us outsource all wormhole/solitaire code to the upstream
certusone repo

* Docker.client: Use cargo-install to install binaries from github

* p2w: fix solana-program wasm-bindgen

* pyth2wormhole: Fix code-level errors against newer solitaire

* p2w: Use upstream wormhole rust code, bump guardian to 2.8.9

* guardian: ensure solana is on, spy: bump image to 2.8.9

Co-authored-by: Reisen <reisen@morphism.org>
2022-08-29 16:18:41 +02:00
Ali Behjati 2361793147
Enable multiple datasource in cw contract (#247) 2022-08-02 11:30:32 +02:00
Ali Behjati f0e88848eb
Abehjati/cleanup-cosmwasm (#243)
* Remove unneeded stuff and warnings

* Remove old readme and replaye pyth readme with it

* Fix build issue

* Revert wormhole contract.rs change

* Address review comments

* Address review comments

* Make Readme more clear
2022-07-29 09:53:21 +02:00
Ali Behjati 07bf9dbee2
Abehjati/use-cw-1-for-contracts (#240)
* Bump version of cw packages from 0.16.0 to 1.0.0

* Fix build

* Update wormhole details

* Update js packages

* Update dockers, configs, to use cosmwasm 2 in tilt

* Update wormhole and pyth addresses everywhere

The migration file is probably not necessary for us.
To be deleted later.

* Update gh action name
2022-07-20 16:35:01 +02:00
Ali Behjati 59ac319305
Abehjati/rename-terra-to-cw (#239)
* Rename terra folder to cosmwasm

* Update dockers and tilt

* Update gh action
2022-07-19 16:26:41 +02:00