Commit Graph

31 Commits

Author SHA1 Message Date
Dev Kalra ec65d3ca81
[cosmwasm] osmosis release (#767)
* update contract version

* update script to build for osmosis

* update pyth sdk cw version

* update release pipeline

* fix pipeline
2023-04-17 18:25:09 +05:30
Dev Kalra 15060d6a5e
[cosmwasm] Osmosis multiple fee token support (#763)
* osmosis txfee supoort

* add get update fee for denom

* query for tx fee support

* add fee checker

* add comment

* implement osmosis code

* correct err response

* fix bugs

* cargo update

* disable rust feature

* return bool instead of result

* add wormhole comment

* tests added

* address feedback

* improve comments

* cargo update
2023-04-14 12:19:57 +05:30
Jayant Krishnamurthy 91dfc36e85
Move cosmwasm sdk into standard tree structure (#761)
* move cosmos sdk into standard tree structure

* fix typo

---------

Co-authored-by: Jayant Krishnamurthy <jkrishnamurthy@jumptrading.com>
2023-04-13 12:27:34 -07:00
Dev Kalra 1371f18e84
add injective mainnet (#754) 2023-04-10 17:08:19 +05:30
Dev Kalra 96c9e83e0f
[cosmwasm] Refactor deployer (#739)
* chain generic code

* pyth wrapper

* factory

* add calc fee and correct raw log

* add documentation

* rename method

* remove update fee  response

* add more documentation

* remove chain specific things

* minor tweak
2023-04-07 18:09:39 +05:30
Dev Kalra ccc2e33dee
update cleanup (#735) 2023-03-31 18:12:28 +05:30
Dev Kalra 299417396b
[cosmwasm] implement a build script (#733)
* implement a build script

* update readme
2023-03-31 12:50:35 +05:30
Dev Kalra 0b9f1f161d
[cosmwasm] implement contract version (#730)
* remove depreceated config

* add a contract version

* check valid instantiation

* up a version and generate schema

* update contract upgrade code
2023-03-30 22:35:53 +05:30
Jayant Krishnamurthy 94f38fdd74
Fix JS workflow (#727) 2023-03-29 09:36:25 -07:00
Ali Behjati 989ac4653a
Update .dockerignore (#722)
* Update .dockerignore

* Update .dockerignore + .gitignore

* Fix docker issue

* Update .dockerignore again

* Fix precommit
2023-03-27 16:44:08 +02:00
Jayant Krishnamurthy 04a8b75f80
add docs (#690)
Co-authored-by: Jayant Krishnamurthy <jkrishnamurthy@jumptrading.com>
2023-03-15 07:25:01 -07:00
Dev Kalra 93ca9c427a
migration logic (#687) 2023-03-14 14:58:57 +05:30
Dev Kalra 3e104b4184
[cosmwasm] address audit (#685)
* remove todos

* add governance source index check

* bumb pyth-sdk-cw version
2023-03-14 00:18:19 +05:30
Dev Kalra 8ff1ada6dc
[cosmwasm] Injective cosmwasm (#680)
* update process_batch_attestation

* add type to Response

* add injective's support

* add cfg feature

* compilation feature flag

* change price status to pyth status

* update README

* update injective's struct
2023-03-13 15:30:48 +05:30
Dev Kalra 16ac58539e
[pyth-cosmwasm] sec review update (#649)
* remove owner

* address sec review feedback

* update storage for pricefeeds

* deprecate owner

* remove owner field
2023-03-03 20:11:15 +05:30
Jayant Krishnamurthy 66783e5ef1
add docs for audit (#645)
Co-authored-by: Jayant Krishnamurthy <jkrishnamurthy@jumptrading.com>
2023-03-01 08:29:12 -08:00
Jayant Krishnamurthy b9430aee81
[sdk] Add new SDK packages to lerna (#630) 2023-02-28 09:14:52 +01:00
Jayant Krishnamurthy bbe10ba553
[sdk] Move JS sdks into this repo (#611)
* move files to subdir and js sdk here

* update pointer

* fix move

* delete lib

* fix this

* gitignore

* aptos sdk

* gitignore

* terra js

* gitignore

* move price pusher

* add lib to gitignore

* move examples

* fix workflow

* gr

* contracts

* hm

* fix

* gr

* grrr

* fix dockerfile

* wtf

* fix
2023-02-22 13:44:42 -08:00
Stanisław Drozd 8e11caa1ee
Bump wormhole rust crates to v2.14.8, remove rent adjustment (#601)
This change upgrades our wormhole dependency to the current latest
release. It introduces a fix in rent calculation logic, making Solitaire compatible with
PythNet. This lets us get rid of dedicated rent adjustment logic,
which we also remove in this change.
2023-02-20 11:06:57 +01:00
Dev Kalra 40e42a5b21
[cosmwasm] pyth-sdk-cw update version v1.0.0 (#595)
* update version

* update contract version
2023-02-14 20:22:14 +05:30
Dev Kalra d95c9247a2
[cosmwasm] Release setup (#594)
* update comment

* add a workflow

* update contracts readme

* add readme to pyth-sdk-cw
2023-02-14 15:28:31 +05:30
Dev Kalra 6daeb88244
[cosmwasm] Update example contract (#593)
* consume pyth-sdk-cw

* use helper queriers

* expose UnixTimestamp

* add testing examples
2023-02-14 14:55:42 +05:30
Dev Kalra c59c00333a
add query helper functions (#587) 2023-02-13 22:50:38 +05:30
Dev Kalra 66a46dd488
add testing module (#585) 2023-02-13 22:05:58 +05:30
Dev Kalra 62083eb6d6
[cosmwasm] Move data structures to pyth-sdk-cw (#578)
* pyth-sdk-cw add data structures

* consume pyth-sdk-cw data structure

* pre commit hooks
2023-02-11 00:23:24 +05:30
Dev Kalra 7f991bbdbc
[cosmwasm] pyth-sdk-cw (#575)
* pyth-sdk-cw

* update contract to use pyth-sdk-cw

* update schema

* update tilt config

* pre commit hooks

* remove raw schema
2023-02-10 22:48:09 +05:30
Dev Kalra 138fbd924f
fix build.sh script (#574) 2023-02-10 00:15:16 +05:30
Ali Behjati 4c5d0d5e1b
[refactor] Add global lerna (#546)
* Move lerna to the top

* Set version to independent

Packages are versioned independently

* Update packages and the lock

* Add build cache and better reference

* Add lerna docker base

* Add wormhole_attester sdk and some minor impr

* Update tsconfig to fix outDir impact by composite

* Update eth package

* Update p2w to use solidity-sdk

* Change xc-admin CI to lerna CI action

* Add more packages to the list + bugfixes

* Update dockerfiles to have tilt working

* Format the code

* Fix some issues

* Fix the change of usePyth.ts

* lerna build fix

* Fix foundry
2023-01-31 17:09:31 +01:00
Dev Kalra 8ad5c374bc
update to use cosmwasm release (#532) 2023-01-25 22:54:17 +05:30
Ali Behjati 70fd0a6c15
[wormhole-attester] Move p2w-sdk inside wormhole_attester directory (#534)
* Move p2w-sdk to wormhole_attester

* Update references to the sdk
2023-01-25 18:14:02 +01:00
Ali Behjati 084acdb57e
[refactor] Convert hyphen to underscore in the directory tree (#524)
* Move price-service to price_service

* Update references to price-service

* Rename target-chains to target_chains

* Update references to target-chains

* Rename tilt-devnet to tilt_devnet

* Update references to tilt-devnet

* Rename wormhole-attester to wormhole_attester

* Update references to wormhole-attester

* Rename multisig-wh-message-builder

* Update references to wh-msg-bldr

* Fix dockerfile issue

* Rename remove-executor to remote_executor

* Update references to remote-executor

* Rename xc-governance-sdk-js

* Update references to the governance sdk

* Move docker-images to docker_images

* Update references to docker-images
2023-01-24 19:06:22 +01:00