Michael Vines
20b6ee04a3
Remove token 1.0
2020-08-26 23:10:18 -07:00
Tyera Eulberg
ea52428475
token: Simplify initialize_mint ( #327 )
...
* Simplify initialize_mint
* C headers
2020-08-27 00:27:44 +00:00
dependabot[bot]
9b59d4e52e
Bump num-derive from 0.3.1 to 0.3.2 ( #321 )
...
Bumps [num-derive](https://github.com/rust-num/num-derive ) from 0.3.1 to 0.3.2.
- [Release notes](https://github.com/rust-num/num-derive/releases )
- [Changelog](https://github.com/rust-num/num-derive/blob/master/RELEASES.md )
- [Commits](https://github.com/rust-num/num-derive/compare/num-derive-0.3.1...num-derive-0.3.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-26 08:37:14 +00:00
dependabot[bot]
19152cfcb7
Bump prettier from 2.1.0 to 2.1.1 in /token-swap/js ( #319 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.1.0...2.1.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-26 08:34:28 +00:00
dependabot[bot]
025a605a59
Bump @babel/core from 7.11.1 to 7.11.4 in /token/js ( #317 )
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.11.1 to 7.11.4.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.11.4/packages/babel-core )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-26 08:33:10 +00:00
dependabot[bot]
b0cebcf4bb
Bump solana-clap-utils from 1.3.2 to 1.3.4 ( #318 )
...
Bumps [solana-clap-utils](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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-26 08:33:05 +00:00
Tyera Eulberg
e91725a8b3
token: Add close_authority and re-enable CloseAccount for non-native Accounts ( #314 )
...
* Add close_authority and re-enable CloseAccount for non-native Accounts
* C headers
2020-08-25 21:36:35 -06:00
Tyera Eulberg
c00adbe3a7
Add capability to freeze token Accounts ( #297 )
...
* Add freeze elements to state structs
* Add can_freeze paramter to InitializeMint instruction, and plumb
* Add fixed_supply parameter to InitializeMint
* Convert to SetAuthority instruction
* Add frozen restrictions
* Add FreezeAccount instruction
* Make FreezeAccount into toggle
* Add parameter to make freezing explicit
* Pass mint owner, freeze_authority as parameters
* Rename ToggleFreeze
* Make AuthorityType more explicit
* Rename mint owner => mint_authority
* Add Account::is_frozen method
* C header updates
* s/is_initialized/state for Account
* Minting nit
* Add helpers to clean up AuthorityType packing
* Split FreezeAccount into 2 instructions
* Pass new_authority as parameter not account
* More C header updates
* Use new COption helpers
* Use boolean for toggle fn
2020-08-25 14:24:11 -06:00
dependabot[bot]
c2da3dbd48
Bump eslint from 7.6.0 to 7.7.0 in /token-swap/js ( #287 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.6.0 to 7.7.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v7.6.0...v7.7.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-25 16:40:30 +00:00
dependabot[bot]
40b43f3ebe
Bump solana-cli-config from 1.3.2 to 1.3.4 ( #292 )
...
Bumps [solana-cli-config](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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-25 16:37:47 +00:00
dependabot[bot]
6f70d642e6
Bump bn.js from 5.1.2 to 5.1.3 in /token-swap/js
...
Bumps [bn.js](https://github.com/indutny/bn.js ) from 5.1.2 to 5.1.3.
- [Release notes](https://github.com/indutny/bn.js/releases )
- [Changelog](https://github.com/indutny/bn.js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/indutny/bn.js/compare/v5.1.2...v5.1.3 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-08-25 09:06:43 -07:00
dependabot[bot]
9776d42329
Bump eslint from 7.6.0 to 7.7.0 in /token/js
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.6.0 to 7.7.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v7.6.0...v7.7.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-08-25 09:05:55 -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
Jack May
9df7b22087
Fix overflow when amounts are u64::MAX ( #310 )
2020-08-25 08:48:26 -07:00
Tyera Eulberg
27d1e52a60
Add COption helpers ( #311 )
...
* Add COption conversion methods
* Add COption pack/unpack
2020-08-25 09:31:01 -06:00
dependabot[bot]
428d5dcf11
Bump bn.js from 5.1.2 to 5.1.3 in /token/js ( #312 )
...
Bumps [bn.js](https://github.com/indutny/bn.js ) from 5.1.2 to 5.1.3.
- [Release notes](https://github.com/indutny/bn.js/releases )
- [Changelog](https://github.com/indutny/bn.js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/indutny/bn.js/compare/v5.1.2...v5.1.3 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-25 08:31:29 +00:00
dependabot[bot]
b9265b450c
Bump prettier from 2.0.5 to 2.1.0 in /token-swap/js ( #313 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.0.5 to 2.1.0.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.0.5...2.1.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-25 08:29:56 +00:00
Jack May
65aeff5b0b
Use deprecated bpf loader ( #307 )
...
* Use deprecated bpf loader
* bump web3.js to pick up fixed flow defs
2020-08-24 14:19:46 -07:00
Michael Vines
dc00c83c34
Correctly fail CI on JS failures
2020-08-24 12:20:17 -07:00
dependabot[bot]
b1bd204fbe
Bump rollup from 2.25.0 to 2.26.5 in /token/js ( #304 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.25.0 to 2.26.5.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v2.25.0...v2.26.5 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-24 08:31:53 +00:00
Michael Vines
17edd16d5b
Add script to generate program code coverage
2020-08-21 23:14:05 +00:00
Daniel Kelleher
b355a9551c
Fix an issue in do.sh where the 'all' argument didn't work, e.g. for do.sh build all ( #299 )
2020-08-21 16:15:45 +00:00
Michael Vines
a7d2bc4324
Allow ../../do.sh build .
2020-08-20 20:20:57 -07:00
Michael Vines
62cb0e2dd9
Remove duplicate
2020-08-20 17:47:49 -07:00
Michael Vines
ca0e33fdd7
Cargo.lock
2020-08-20 17:45:42 -07:00
Michael Vines
c64f29e0d8
Update version
2020-08-20 13:41:27 -07:00
Michael Vines
b619da32ae
Bump version to 1.0.8
2020-08-14 18:08:46 -07:00
Michael Vines
db6f414589
Back out 'Add support for self transfers ( #210 )'
2020-08-14 22:50:18 +00:00
Michael Vines
e440466311
Add token program2
2020-08-14 22:50:18 +00:00
Michael Vines
e1cedf4e04
Cargo.lock
2020-08-14 22:50:18 +00:00
Michael Vines
a969ada9d1
Add more build timing
2020-08-14 22:50:18 +00:00
dependabot[bot]
c12b04aaaa
Bump @solana/web3.js from 0.68.0 to 0.71.1 in /token/js ( #279 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.68.0 to 0.71.1.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.68.0...v0.71.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-14 22:28:33 +00:00
dependabot[bot]
d4a526a90b
Bump @solana/web3.js from 0.68.0 to 0.71.1 in /token-swap/js ( #278 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.68.0 to 0.71.1.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.68.0...v0.71.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-14 22:28:27 +00:00
Michael Vines
908ce7ccb3
Only build master branch
2020-08-14 14:58:25 -07:00
Michael Vines
bb7bac72cd
Don't cache ~/.npm and ~/.cargo
...
The save/restore overhead from cache is not a significant time savings
2020-08-14 21:08:47 +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
480c88ceaf
Exclude DECIMALS
2020-08-14 17:57:46 +00:00
Michael Vines
e345b1cb17
Remove extra whitespace
2020-08-14 17:57:46 +00:00
Michael Vines
d696b7bf18
Reduce ci/ duplication
2020-08-14 08:48:12 -07:00
Michael Vines
e2ac634c3e
Bump token version
2020-08-14 08:48:12 -07:00
Michael Vines
69ec1d7ca7
clippy
2020-08-14 08:48:12 -07:00
dependabot[bot]
c3e80d401f
Bump clap from 2.33.2 to 2.33.3 ( #274 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 2.33.2 to 2.33.3.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/commits )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-14 08:44:28 +00:00
dependabot[bot]
44c8dd7284
Bump rollup from 2.23.1 to 2.25.0 in /token/js ( #273 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.23.1 to 2.25.0.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v2.23.1...v2.25.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-14 08:40:46 +00:00
dependabot[bot]
98e322a27c
Bump @rollup/plugin-babel from 5.1.0 to 5.2.0 in /token/js ( #272 )
...
Bumps [@rollup/plugin-babel](https://github.com/rollup/plugins ) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/rollup/plugins/releases )
- [Commits](https://github.com/rollup/plugins/compare/babel-v5.1.0...babel-v5.2.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-14 08:40:41 +00:00
Michael Vines
a8915b5850
Cargo.lock
2020-08-14 01:22:11 +00:00
Michael Vines
bf1b3259b9
Bump version to v1.0.7
2020-08-14 01:22:11 +00:00
Michael Vines
50cd2956f8
Adjust path to account-decoder
2020-08-14 01:22:11 +00:00
Michael Vines
77e43016f1
clippy
2020-08-14 01:22:11 +00:00
Michael Vines
06069b9095
Work around missing _sol_create_program_address symbol for x86_64
2020-08-14 01:22:11 +00:00