Jon Cinque
ba76d520eb
token-swap js: Prepare package for npm ( #475 )
...
* Run `pretty` properly
* Add `build:program` like for spl-token
* Add TypeScript to CI
* snake_case -> camelCase variables
* Combine transactions on swap initialization
* Make instruction functions static
2020-09-18 19:10:21 +02:00
Jon Cinque
4dd9754624
Re-enable token-swap ci ( #442 )
2020-09-14 16:56:00 +02:00
Jon Cinque
f5e0d793a9
token-swap: Swap instruction fix and update libs for CI ( #408 )
...
* token-swap: Fix swap instruction
* Update SDK libs and fix outstanding issues
* Run lint in token/js
* Disable CI token-swap js tests
* Update code for web3.js 0.75.0
* Update output -> destination verbiage for clarity / consistency
2020-09-10 20:16:50 +02:00
Jon Cinque
ac73bd2e73
Fix token-swap tests ( #388 )
...
* Fix local token-swap tests
* Change generation of program address to use a nonce
* Accept nonce properly in initialization
* Include nonce in TokenSwap structure
* Fixup serialization with new parameter (padding used for now)
* Update dependencies
Update toml / lock files
Fix token swap initialization end-to-end
Cleanup unit test to use `find_program_address`
Add / refactor tests
Most importantly, added a special test to make sure that
token_program_id is provided at the end of CPI instructions, since
unit testing did not pick up that problem, and it was tough to debug
during end-to-end testing
* Revert some testing changes for PR
* Update token-swap/program/src/processor.rs
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
* Integrate review comments
* Fmt and clippy
* Refactor for clippy
* Fmt again
* Fix npm lint error
* Clarify signers line as requested
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2020-09-06 00:09:05 +02:00
Trent Nelson
e00a6f1add
Bump Token version to 2.0.4
2020-09-04 01:18:44 -06:00
Jack May
0637e358bc
Add back token perf monitor ( #380 )
2020-09-01 17:27:11 -07:00
Justin Starry
8e1bff0a72
Fix token-js CI tests ( #371 )
2020-08-30 14:31:58 +08:00
Michael Vines
dc8dcc0222
Disable token-swap flow
2020-08-28 16:16:24 -07:00
Michael Vines
aa1489df2e
Disable C header generation in CI
2020-08-28 16:01:58 -07:00
Michael Vines
0a47a3127c
Move c header generation out of build.rs
2020-08-27 23:32:07 -07:00
Michael Vines
73e2455d60
Relocate test-client
2020-08-27 23:32:07 -07:00
Michael Vines
142e8e2ea6
Temporarly disable C header checks
2020-08-28 00:47:35 +00:00
Michael Vines
5fccbc5ac8
Disable token/js tests pending resolution of #332
2020-08-26 23:10:18 -07:00
Michael Vines
2815165c14
Relocate program2 into program
2020-08-26 23:10:18 -07:00
dependabot[bot]
036cca36b6
Bump solana-sdk from 1.3.2 to 1.3.4
...
Bumps [solana-sdk](https://github.com/solana-labs/solana ) from 1.3.2 to 1.3.4.
- [Release notes](https://github.com/solana-labs/solana/releases )
- [Changelog](https://github.com/solana-labs/solana/blob/master/RELEASE.md )
- [Commits](https://github.com/solana-labs/solana/compare/v1.3.2...v1.3.4 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-08-25 09:05:29 -07:00
Michael Vines
dc00c83c34
Correctly fail CI on JS failures
2020-08-24 12:20:17 -07:00
Michael Vines
e440466311
Add token program2
2020-08-14 22:50:18 +00:00
Michael Vines
a969ada9d1
Add more build timing
2020-08-14 22:50:18 +00:00
Michael Vines
20dc857d61
Add build step timing information
2020-08-14 21:08:47 +00:00
Michael Vines
a3c0ef88da
Restore generated token.h check
2020-08-14 17:57:46 +00:00
Michael Vines
d696b7bf18
Reduce ci/ duplication
2020-08-14 08:48:12 -07:00
Michael Vines
06069b9095
Work around missing _sol_create_program_address symbol for x86_64
2020-08-14 01:22:11 +00:00
Jack May
706e619bdd
cbindgen does not produce deterministic header files ( #261 )
2020-08-11 16:09:36 -07:00
Michael Vines
e2aaff7a03
Add travis script log folding
2020-08-08 15:25:47 -07:00
Michael Vines
26ab9bb26a
Reorganize crates based on program
2020-08-08 15:25:47 -07:00
Michael Vines
f8e4cd86f9
Disable token-swap js tests in CI until https://github.com/solana-labs/solana/issues/11465 is resolved
2020-08-08 08:05:00 -07:00
Michael Vines
2f2d07f0bb
cd nicer
2020-08-08 08:05:00 -07:00
Michael Vines
b38d8510b5
Ensure localnet is down
2020-08-08 08:05:00 -07:00
Michael Vines
a8c995bc79
Fix up target/ location
2020-08-08 08:05:00 -07:00
Michael Vines
98de735cdc
Remove explicit memo build
2020-08-08 08:05:00 -07:00
Michael Vines
33c04f11cd
Don't update so much
2020-08-08 08:05:00 -07:00
Michael Vines
c6042f68f7
Add top-level workspace
2020-08-08 08:05:00 -07:00
dependabot[bot]
b0a51f0485
Bump solana-sdk from 1.2.19 to 1.3.1 in /ci/client ( #244 )
...
Bumps [solana-sdk](https://github.com/solana-labs/solana ) from 1.2.19 to 1.3.1.
- [Release notes](https://github.com/solana-labs/solana/releases )
- [Changelog](https://github.com/solana-labs/solana/blob/master/RELEASE.md )
- [Commits](https://github.com/solana-labs/solana/compare/v1.2.19...v1.3.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-08 04:12:07 +00:00
Michael Vines
2dbe6d1129
spl-token command-line utility
2020-08-08 02:37:05 +00:00
Michael Vines
735eafb7e0
Avoid generating header files when they already exist
2020-08-07 18:44:00 -07:00
dependabot[bot]
3fe6cd600c
Bump solana-sdk from 1.2.17 to 1.2.19 in /ci/client ( #222 )
...
Bumps [solana-sdk](https://github.com/solana-labs/solana ) from 1.2.17 to 1.2.19.
- [Release notes](https://github.com/solana-labs/solana/releases )
- [Changelog](https://github.com/solana-labs/solana/blob/master/RELEASE.md )
- [Commits](https://github.com/solana-labs/solana/compare/v1.2.17...v1.2.19 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-06 10:06:38 +00:00
Michael Vines
4ca71a378e
Relax solana-sdk version requirement
2020-08-04 16:10:05 -07:00
Jack May
72759b37f9
Simply pull sdk into ci test client ( #204 )
2020-08-03 11:31:15 -07:00
Jack May
46f0b42873
Programs can be client dependencies ( #181 )
2020-07-31 16:35:49 -07:00
Jack May
a07935371f
Prep token/js for publishing ( #165 )
2020-07-30 02:07:55 -07:00
Jack May
96366cb4ff
Improve CI coverage ( #141 )
...
* Improve CI coverage
* install fmt
2020-07-21 14:37:34 -07:00
Dan Albert
2277b5b284
Implement docusaurus build, deployment and CI hooks ( #129 )
...
* Implement docs build, deployment and CI hooks
* Fixup travis config
* Update references to final domain choice
2020-07-16 10:13:45 -06:00
Jack May
94e518d086
Automation on localnet ( #110 )
...
* Run CI on localnet
* nit
2020-07-08 14:18:19 -07:00
Jack May
767741c235
Fix automation ( #81 )
2020-07-07 02:09:19 -07:00
Tyera Eulberg
5e4dcbbcc1
Fix CI ( #74 )
...
* Fix ci
* Docs fix
* Dir name
2020-07-01 11:20:44 -06:00
Jack May
b292d4cb3f
Fix token-swap ( #72 )
2020-07-01 00:56:00 -07:00
Jack May
f8f51c13fa
FFI compatible token interface ( #48 )
2020-06-26 15:20:03 -07:00
Tyera Eulberg
4a140464a2
Remove bpf-sdk handling from token package.json ( #43 )
2020-06-17 16:59:32 -06:00
Jack May
9214d08be6
Add rustdocs ( #39 )
2020-06-17 11:25:19 -07:00
Tyera Eulberg
ff8b5ac158
Add utf8 memo program ( #27 )
...
* Initial memo commit
* Add program id
* Update CI
* Remove unneeded dependencies
* Try instead of map
* clippy --tests
2020-06-05 20:13:15 -06:00