Commit Graph

79 Commits

Author SHA1 Message Date
Tyera Eulberg ddce1d3c9f chore: make test less flaky 2020-06-14 21:57:04 -07:00
Tyera Eulberg a461d5f25f fix: update ConfirmedBlock handling to match solana upstream 2020-06-14 21:57:04 -07:00
Justin Starry 3c08e5b9c4 feat: add getConfirmedBlock api 2020-06-14 21:57:04 -07:00
Tyera Eulberg 890f6f4d9d fix: add getBlock Connection method 2020-06-14 21:57:04 -07:00
Justin Starry f3d9ab75e6 feat: add getVersion method 2020-06-14 21:57:04 -07:00
Tyera Eulberg 086eb6f8b8 fix: add getBlocksSince Connection method 2020-06-14 21:57:04 -07:00
Justin Starry 189807f5a5 feat: add commitment param to JSON RPC API requests (#549)
* feat: add commitment param to json rpc requests

* fix: tests and examples

* fix: docs

* fix: epoch info test

* fix: budget example

* fix: test timeout

* fix: remove MAX_COMMITMENT and RECENT_COMMITMENT types
2020-06-14 21:57:04 -07:00
Tyera Eulberg d0c89f7fa3 fix: update accounts to readonly/writable 2020-06-14 21:57:04 -07:00
Sunny Gleason 3f38e89886 feat: getEpochInfo rpc, yarn lint (#540) 2020-06-14 21:57:04 -07:00
Sunny Gleason 67c9b50249 feat: get_epoch_schedule rpc (#536) 2020-06-14 21:57:04 -07:00
Jack May 0d582c180f fix: update module.flow (#537) 2020-06-14 21:57:04 -07:00
Michael Vines c705ac01f5 fix: adapt tests to higher default transaction signature fee (#531) 2020-06-14 21:57:04 -07:00
Tyera Eulberg 7191159377 fix: update node exit rpc to match solana changes 2020-06-14 21:57:04 -07:00
Tyera Eulberg 4ae90c2944 fix: add api for getMinimumBalanceForRentExemption 2020-06-14 21:57:04 -07:00
Tyera Eulberg 3b337c5f56 fix: getVoteAccounts live test 2020-06-14 21:57:04 -07:00
Sunny Gleason e031710ae0 fix: remove grant/grant_term from inflation (#489) 2020-06-14 21:57:04 -07:00
Sunny Gleason 0379615c76 feat: getInflation() RPC (needs better documentation pending book terms) (#473)
* feat: getInflation() RPC (needs better documentation pending book terms)

* feat: add test
2020-06-14 21:57:04 -07:00
Tyera Eulberg a3bf378d0d fix: update from getEpochVoteAccounts to getVoteAccounts rpc 2020-06-14 21:57:04 -07:00
Justin Starry 6ac1dffa99 chore(deps-dev): bump eslint-plugin-jest from 22.7.2 to 22.15.0 2020-06-14 21:57:04 -07:00
Michael Vines 2eeaf668fa fix: add missing getSlot API 2020-06-14 21:57:04 -07:00
Tyera Eulberg 0e7c8cd01f fix: expose getProgramAccounts RPC method 2020-06-14 21:57:04 -07:00
Tyera Eulberg eb56da4a94 fix: fix transaction live test for credit-only accounts (#385) 2020-06-14 21:57:04 -07:00
Trent Nelson 034f31d3bc Expose `getTotalSupply` RPC method (#370) 2020-06-14 21:57:04 -07:00
Michael Vines 10e3a26338 feat: expose feeCalculator 2020-06-14 21:57:04 -07:00
Michael Vines a8d0b6f9f1 fix: add more lamports to payer accounts to account for higher fees 2020-06-14 21:57:04 -07:00
Michael Vines e23d2453d7 feat: add binding for getEpochVoteAccounts 2020-06-14 21:57:04 -07:00
Michael Vines 48f0bcc2bf fix: pay transaction fees from system accounts 2020-06-14 21:57:04 -07:00
Michael Vines 456f34e95b fix: add fullnodeExit() 2020-06-14 21:57:04 -07:00
Michael Vines a90cbcee9e test: give more time 2020-06-14 21:57:04 -07:00
Michael Vines a2cd9180b5 feat: add getSlotLeader()/getClusterNodes() 2020-06-14 21:57:04 -07:00
Tyera Eulberg c1bbb9b291 s/move/transfer in system program to match solana 2020-06-14 21:57:04 -07:00
Tyera Eulberg 507fac06ee fix: Appease flow 2020-06-14 21:57:04 -07:00
Tyera Eulberg 7f72bbeba3 fix: Update signature status result type 2020-06-14 21:57:04 -07:00
Tyera Eulberg efd0392706 BREAKING CHANGE: requires Solana version v0.13.0 or greater
feat: Update to current solana tx format
2020-06-14 21:57:04 -07:00
Michael Vines c78ca47547 chore: npm run pretty 2020-06-14 21:57:04 -07:00
Michael Vines 759d7b9cc2 fix: adjust DEFAULT_TICKS_PER_SLOT to match main repo 2020-06-14 21:57:04 -07:00
Michael Vines 6fe0e08a80 fix: rename userdata to data 2020-06-14 21:57:04 -07:00
Tyera Eulberg f6afbe1a72 fix: Plumb program-based subscriptions 2020-06-14 21:57:04 -07:00
Michael Vines be8821e0d0 fix: rename tokens to lamports 2020-06-14 21:57:04 -07:00
Michael Vines 5d350b4568 fix: adjust notification test to wait for the next block 2020-06-14 21:57:04 -07:00
Michael Vines 294dd4f4e7 fix: Rename lastId to blockhash 2020-06-14 21:57:04 -07:00
Michael Vines 5b9665098a fix: getConfirmationTime() was removed upstream 2020-06-14 21:57:04 -07:00
Michael Vines 41865547ee fix: remove spawn 2020-06-14 21:57:04 -07:00
Michael Vines 88abaa3cc9 fix: rename getFinality to getConfirmationTime 2020-06-14 21:57:04 -07:00
Michael Vines b175a53f4b fix: default transaction fee is now 1 (was 0) 2020-06-14 21:57:04 -07:00
Michael Vines 8e3785989e fix: update some devDependencies 2020-06-14 21:57:04 -07:00
Michael Vines fa7e2722d1 fix: support multiple Transaction signatures 2020-06-14 21:57:04 -07:00
Michael Vines 921ae797d8 fix: stabilize tests 2020-06-14 21:57:04 -07:00
Michael Vines 67ccac9418 fix: catch up to account field renaming 2020-06-14 21:57:04 -07:00
Michael Vines 1d6abb17cf refactor: employ prettier 2020-06-14 21:57:04 -07:00