Commit Graph

4 Commits

Author SHA1 Message Date
Jon Cinque 8636eb3270
token-upgrade-cli: Use test-validator instead of validator (#3611) 2022-09-15 22:59:14 +02:00
Jon Cinque fa534e987a
token-upgrade: Add CLI and docs (#3593)
* token-upgrade: Add CLI and docs

* Remove build.rs and build by hand

* Exclude token-upgrade-cli from cargo-build-test

* Use user-friendly token-client response printing

* Make docs consistent with implementation + other feedback

* Remove integer arithmetic

* Make required parameters `required()`
2022-09-15 20:25:40 +02:00
Jon Cinque f97a3dc7cf
clippy: Deny integer arithmetic, add allows where needed (#3606) 2022-09-15 13:16:53 +02:00
Jon Cinque c0ef1f95ef
token-upgrade: Define new conversion program (#3436)
* token-upgrade: Define interface and state for token upgrade program

* Update with feedback

* Address more feedback, make the whole thing stateless

* Address interface feedback

* Add implementation

* Update language

* Update language

* Add tests

* Add CI

* Change program id to tkup

* Rebase fix

* Address feedback

* Enforce decimals match
2022-09-14 12:44:29 +02:00