Michał Piotrowski
050e03feaf
fix grcov dependency checking ( #2667 )
...
* fix grcov dependency checking
* fix grcov dependency checking - address review comment
2021-12-28 09:27:55 -05:00
Jordan Sexton
78b8ef9688
remove dist tag from package version
2021-12-27 20:09:33 -06:00
Jordan Sexton
14952a75ba
organize config
2021-12-27 20:03:13 -06:00
Jordan Sexton
0cd82ce775
fix default arg
2021-12-27 20:03:13 -06:00
Jordan Sexton
ad0525ebfe
remove watch command
2021-12-27 20:03:13 -06:00
Jordan Sexton
afaef4c141
update yarn.lock
2021-12-27 20:03:13 -06:00
Jordan Sexton
9378b1ed94
set lower compatible version of web3js
2021-12-27 20:03:13 -06:00
Jordan Sexton
074ef06126
update buffer-layout-utils
2021-12-27 20:03:13 -06:00
Jordan Sexton
bba59e9e05
update dev deps
2021-12-27 20:03:13 -06:00
Jordan Sexton
a8b27006b4
update version to 0.2.0-alpha.0@next
2021-12-27 20:03:13 -06:00
Jordan Sexton
537bfe3efe
add checked + unchecked decode functions
2021-12-27 20:03:13 -06:00
Jordan Sexton
6e7b7d7faa
InitializeAccount doesn't have multisigners
2021-12-27 20:03:13 -06:00
Jordan Sexton
7ac61bc957
target esnext with esm build, es6 with cjs
2021-12-27 20:03:13 -06:00
Jordan Sexton
1844efe298
fix comments
2021-12-27 20:03:13 -06:00
Colin Ogoo
70893b0299
build(cjs/esm): create cjs/esm bundles
...
- update build script to build both esm and cjs compatible packages
- add postbuild script to delegate the module type check to package.json within lib/esm and lib/cjs directory
2021-12-27 20:03:13 -06:00
Colin Ogoo
cc074a1b5e
build(rollup): remove rollup and related packages
...
step one of removing rollup from the build pipeline
2021-12-27 20:03:13 -06:00
Jordan Sexton
0db9c3dc00
fix decoded type
2021-12-27 20:03:13 -06:00
Jordan Sexton
8ca7381402
fix argument order
2021-12-27 20:03:13 -06:00
Jordan Sexton
931befabb0
add more decode functions, refactor
2021-12-27 20:03:13 -06:00
Jordan Sexton
8cca13cecf
add initial instruction decoding functions
2021-12-27 20:03:13 -06:00
Jordan Sexton
7f8d04cdeb
add instruction errors
2021-12-27 20:03:13 -06:00
Jordan Sexton
e97f51031f
fix doc comments
2021-12-27 20:03:13 -06:00
Jordan Sexton
3dc18b2f19
strictly type and expose instruction data layouts
2021-12-27 20:03:13 -06:00
Jordan Sexton
20463a7a6b
change get*Info method names
2021-12-27 20:03:13 -06:00
Jordan Sexton
0b586a2809
include license in published package
2021-12-27 20:03:13 -06:00
Jordan Sexton
2cd6f68de8
add rollup to build
2021-12-27 20:03:13 -06:00
Jordan Sexton
60b8340ed4
add published files
2021-12-27 20:03:13 -06:00
Jordan Sexton
95c3ab4e4b
build for node 14 (LTS)
2021-12-27 20:03:13 -06:00
Jordan Sexton
d7d3f08a5e
AccountInfo::data should already be a Buffer
2021-12-27 20:03:13 -06:00
Jordan Sexton
e02d632b36
fix build from source directions
2021-12-27 20:03:13 -06:00
Jordan Sexton
da6c573b0c
organize imports
2021-12-27 20:03:13 -06:00
Emilia Hane
241a09b494
fix: token address in place of sender address
2021-12-27 10:31:03 -08:00
Alexander Ray
cd8d79a2b4
[stake-pool] js: web3 stake pool bindings ( #2604 )
...
* - add stake-pool-web3-bindings (preview)
* - update readme
* - add tests
* - remove package-lock from foreign project
* - revert changes from foreign project
* - review improvenments
* - refactor regarding review suggestions
* - fix test
- fix readme
* Update stake-pool/js/src/instructions.ts
Co-authored-by: Jon Cinque <jon.cinque@gmail.com>
* - add withdraw authority as optional parameter
Co-authored-by: Jon Cinque <jon.cinque@gmail.com>
2021-12-23 13:34:02 -05:00
Jon Cinque
1f4b65153f
Update tests to prepare for `BanksClientError` ( #2657 )
...
* Update tests to prepare for `BanksClientError`
* Remove import from record tests
2021-12-23 13:08:06 -05:00
Alexey Skibin
07bf49fdb8
farms: Add trade governance ( #2635 )
2021-12-22 18:50:36 -06:00
Dmitri Makarov
4e73dad461
Increase compute limit in another test ( #2658 )
2021-12-21 16:09:21 -08:00
Kirill Fomichev
dcf91e9ae8
Add token/rust: spl-token-api ( #2102 )
...
* Init spl-token-api
* rename token/rust
* add mint_to, transfer
* add BoxFuture
* fmt + Send + Sync
* TokenBanksClient::new_from_client
* add trait SendTransaction
* deps
* add enum for TokenBanksClient
* update to 1.7.11
* fix Token::mint_to
* fix transfer and add get_account_info
* unstrict deps
* add get_or_create_associated_account_info
* add set_authority and split tests
* set_authority for mint/account
* re-export spl_token
* add Token::new
* update solana crates
* remove comments
* change generic names
* change process_ixs method
* add Token::get_mint_info
* fix same mint tx
* add Token::with_payer
* fmt
* TokenClient::send_transaction accept ref
* rename Token* to Program*
2021-12-21 12:16:20 -07:00
Dmitri Makarov
e039957fc4
Increase compute max units in program-2022 assert_instruction_count ( #2655 )
2021-12-21 10:59:44 -08:00
Jon Cinque
8c9f8a0088
stake-pool: Reduce maximum pool size ( #2654 )
...
* stake-pool: Reduce huge pool size in tests
* stake-pool: Reduce supported maximum size
2021-12-21 13:10:12 +01:00
Dmitri Makarov
28d0aa7759
Increase compute max units due to changes in handling of memory ops ( #2653 )
2021-12-20 15:29:36 -08:00
Jon Cinque
1851068e8c
stake-pool-docs: Clarify that epoch fee is on top of commissions ( #2652 )
2021-12-20 22:15:37 +01:00
Ikko Ashimine
0655bd7dd1
Fix typo in account.rs ( #2651 )
...
insted -> instead
2021-12-18 10:08:40 -07:00
Phạm Văn Dũng
a6a1ce4290
fix account list in token_swap instructions docs ( #2648 )
2021-12-17 13:05:23 +01:00
Jack May
14fd41336b
Bump instruction count limit ( #2647 )
2021-12-16 13:49:43 -08:00
Jon Cinque
5aa3b98f2c
stake-pool-cli: Add next fees in verbose mode, fix mapping ( #2645 )
2021-12-16 14:46:01 +01:00
Jordan Sexton
fef4438cd1
fix test
2021-12-14 16:49:30 -06:00
Jordan Sexton
4179acbf8b
Rewrite spl-token-js in TypeScript ( #2539 )
...
* first draft
* restructuring
* fix imports
* move errors to constants
* fmt
* fix ata
* finish core implementation
* don't export internal utils
* rename internal util files
* token account is owned by token program
* docs
* docs
* port example
* add basic tests from current implementation
* enable es6 features in lint config
* don't build tests into lib dir
* doc tweaks
* add preinstall script
* add types, don't postinstall
* allow keypairs to create accounts, and default to using ATAs
* add explicit enum values
* remove unused dependency
* expose allowOwnerOffCurve option to getOrCreateAssociatedTokenAccount action
* make multisigners optional
* WIP, undo
* update buffer-layout and buffer-layout-utils from npm
* update dev dependencies
2021-12-14 16:47:57 -06:00
Jon Cinque
2cd68d3f5c
token-2022: Add transfer fee types and instructions ( #2608 )
...
* token-2022: Add transfer fee accounts and instructions
* Address feedback
* More feedback
* Move to mixins
* Separate instructions for mixin initialization
* Feedback again again again!
* Getting there...
* More more feedback again again
* Add `WithdrawWithheldTokensFromAccounts` instruction
* Add instruction serde, fix all errors
2021-12-14 23:36:02 +01:00
Jon Cinque
ba08b6e662
stake-pool: Mint extra reserve lamports as pool tokens on init ( #2636 )
...
* stake-pool: Mint extra reserve lamports as pool tokens on init
* Wait more aggressively in py test
* Simplify test
2021-12-14 18:45:15 +01:00
Jon Cinque
9bda73f37c
stake-pool-cli: Add `deposit-all-stake` command ( #2614 )
...
* stake-pool-cli: Add `deposit-all-stake` command
* Improve py test
2021-12-14 02:25:37 +01:00