Greg Fitzgerald
61d9d219f9
Withdraw authority no longer implies a custodian ( #11302 )
...
* Withdraw authority no longer implies a custodian
Before this change, if the withdraw authority and custodian had
the same public key, then a withdraw authority signature would
imply a custodian signature and lockup would be not be enforced.
After this change, the client's withdraw instruction must
explictly reference a custodian account in its optional sixth
account argument.
Likewise, the fee-payer no longer implies either a withdraw
authority or custodian.
* Fix test
The test was configuring the stake account with the fee-payer as
the withdraw authority, but then passing in a different key to
the withdraw instruction's withdraw authority parameter. It only
worked because the second transaction was signed by the fee-payer.
2020-07-31 13:37:53 -06:00
Tyera Eulberg
0f551d4f75
Decode token instructions ( #11281 )
...
* Token->SplToken
* Add spl_token instruction parsing
* Rebase on master
* Gracefully fail key len mismatches
2020-07-31 13:26:09 -06:00
sakridge
1733f6c9e9
Update perf libs to 0.19.1 ( #11301 )
...
* fix for cuda sigverify check for small order pubkey
2020-07-31 09:19:43 -07:00
Michael Vines
52575349dc
Build programs with `--no-default-features --features program` to match solana-sdk
2020-07-31 08:57:42 -07:00
Michael Vines
efcf9ff125
Adjust time window on mainnet-beta upgrade banner
2020-07-31 08:17:08 -07:00
dependabot[bot]
5d3c39b6a9
chore: bump rpc-websockets from 5.2.3 to 5.2.4 in /web3.js ( #11306 )
...
Bumps [rpc-websockets](https://github.com/elpheria/rpc-websockets ) from 5.2.3 to 5.2.4.
- [Release notes](https://github.com/elpheria/rpc-websockets/releases )
- [Commits](https://github.com/elpheria/rpc-websockets/commits )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-31 08:52:03 +00:00
dependabot[bot]
a2d40151ea
chore:(deps): bump @types/jest from 26.0.7 to 26.0.8 in /explorer ( #11305 )
...
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ) from 26.0.7 to 26.0.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-31 08:19:47 +00:00
dependabot[bot]
2930102064
chore:(deps): bump @solana/web3.js from 0.63.1 to 0.64.0 in /explorer ( #11304 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.63.1 to 0.64.0.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.63.1...v0.64.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-31 08:16:32 +00:00
Justin Starry
5a69c66877
feat: add token methods ( #11303 )
2020-07-31 12:33:54 +08:00
Dan Albert
a5b6fd3d9b
Add Vote Account Management Doc ( #11278 )
...
* Add vote account management doc
* Add links to new doc
* Whitespace
* Fixup language
* Cleaner title
* Apply review feedback
* Apply further feedback
* Fix usage page header
Co-authored-by: publish-docs.sh <maintainers@solana.com>
2020-07-31 02:43:41 +00:00
Michael Vines
c78e12a262
Avoid spl-sdk dependency, which inhibits crate publishing
2020-07-30 23:47:26 +00:00
Greg Fitzgerald
1d2426ddbc
Move simulate_transaction from rpc to bank ( #11294 )
2020-07-30 19:15:45 +00:00
Justin Starry
d0f4b24481
fix: remove instanceof checks
2020-07-30 11:44:46 -07:00
Greg Fitzgerald
31ea69f278
Add low-latency, RPC proposal ( #11221 )
...
* Add RiP Curl proposal
* Apply review feedback
2020-07-30 10:52:47 -06:00
carllin
a23e1129a9
Switch to optimistic conf for notifying gossip subscribers ( #11289 )
...
Co-authored-by: Carl <carl@solana.com>
2020-07-30 02:52:27 -07:00
carllin
bf18524368
Add hook for getting vote transactions on replay ( #11264 )
...
* Add hook for getting vote transactions on replay
Co-authored-by: Carl <carl@solana.com>
2020-07-29 23:17:40 -07:00
Trent Nelson
a888f2f516
Reject TXs sent via RPC with no signatures
2020-07-30 00:07:33 -06:00
Trent Nelson
9778fedd7a
Add new RPC error for TXs with no signatures
2020-07-30 00:07:33 -06:00
Trent Nelson
a7079e4dde
Dereplicode send_transaction and request_airdrop RPC handlers
2020-07-30 00:07:33 -06:00
Trent Nelson
b962b2ce2d
Add failing test for TX sent via RPC with no signatures
2020-07-30 00:07:33 -06:00
Dan Albert
e8c0ec53e6
Fix wallet links ( #11284 )
...
Co-authored-by: publish-docs.sh <maintainers@solana.com>
2020-07-30 05:06:04 +00:00
Josh Kauffman
995a7ba8eb
Update vote-signing.md
2020-07-29 20:40:44 -07:00
Josh Kauffman
e0f74c6862
Update fork-generation.md
2020-07-29 20:40:44 -07:00
Josh Kauffman
01e26012b3
Update wallet-guide.md
2020-07-29 20:40:44 -07:00
Josh Kauffman
239080c131
Update stake-delegation-and-rewards.md
2020-07-29 20:40:44 -07:00
Josh Kauffman
24831ea42d
Update vote-signing.md
2020-07-29 20:40:44 -07:00
Josh Kauffman
1ecc276fd1
Update turbine-block-propagation.md
2020-07-29 20:40:44 -07:00
Josh Kauffman
d6a4ad18fe
Update managing-forks.md
2020-07-29 20:40:44 -07:00
Josh Kauffman
d93366fc52
Update fork-generation.md
2020-07-29 20:40:44 -07:00
Josh Kauffman
8c611cf87e
Update leader-rotation.md
2020-07-29 20:40:44 -07:00
Josh Kauffman
6a5b7e5b98
Update synchronization.md
2020-07-29 20:40:44 -07:00
Josh Kauffman
8054c3f3fa
Fix typos
2020-07-29 20:40:44 -07:00
Jack May
2dbed80e48
Disable cross-program invocations for OperatingMode::Stable ( #11272 )
2020-07-29 15:29:52 -07:00
Dan Albert
cd043b5d70
Add top level link to Clusters page ( #11276 )
...
Co-authored-by: publish-docs.sh <maintainers@solana.com>
2020-07-29 21:27:25 +00:00
Michael Vines
c410b082b7
.sh
2020-07-29 14:12:11 -07:00
Michael Vines
3a1ca4efff
Fetch and install SPL programs by default
2020-07-29 12:48:56 -07:00
Michael Vines
8eb6cbf784
Add --bpf-program argument
2020-07-29 12:48:56 -07:00
Jack May
16ecce353f
Revert "Land program addresses on the curve ( #11174 )" ( #11253 )
...
This reverts commit f317c362a8
.
2020-07-29 11:33:45 -07:00
dependabot[bot]
9bc31f1e66
chore: bump rollup from 2.22.1 to 2.23.0 in /web3.js ( #11269 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.22.1 to 2.23.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.22.1...v2.23.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-29 11:14:35 +00:00
dependabot[bot]
071df12908
chore:(deps): bump @types/node from 14.0.26 to 14.0.27 in /explorer ( #11268 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.0.26 to 14.0.27.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-29 11:00:50 +00:00
dependabot[bot]
faaf729e5d
chore:(deps): bump @testing-library/jest-dom in /explorer ( #11267 )
...
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom ) from 5.11.1 to 5.11.2.
- [Release notes](https://github.com/testing-library/jest-dom/releases )
- [Changelog](https://github.com/testing-library/jest-dom/blob/master/CHANGELOG.md )
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.11.1...v5.11.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-29 10:59:07 +00:00
dependabot[bot]
df143d133b
chore:(deps): bump @testing-library/user-event in /explorer ( #11266 )
...
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event ) from 12.0.15 to 12.0.17.
- [Release notes](https://github.com/testing-library/user-event/releases )
- [Changelog](https://github.com/testing-library/user-event/blob/master/CHANGELOG.md )
- [Commits](https://github.com/testing-library/user-event/compare/v12.0.15...v12.0.17 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-29 10:58:23 +00:00
carllin
ebe367f722
Add utility function ( #11262 )
...
Co-authored-by: Carl <carl@solana.com>
2020-07-28 23:44:10 -07:00
Tyera Eulberg
b45ac5d4db
Add SPL Token-specific rpc endpoints ( #11231 )
...
* Simplify account-decoder program ids + spl_token helper
* Spl program namespace version
* Add getTokenAccountBalance endpoint
* Remove token program id from getTokenAccountBalance request
* Add getTokenSupply endpoint
* Remove token program id from getTokenSupply request
* Add getTokenAccountsByOwner/Delegate endpoints
* Remove token program id from getTokenAccountsByOwner/Delegate requests
* Named parameter
2020-07-28 23:00:48 -06:00
Trent Nelson
e553a98d2f
Rerere-enable RecentBlockhashes fix on testnet (epoch 76)
2020-07-29 02:43:10 +00:00
Trent Nelson
678f94903b
Fill out missing RPC request received debug logging
2020-07-29 01:51:20 +00:00
Ryo Onodera
3e4f49f9c9
Fix race condition between shrinking and cleaning ( #11235 )
...
* Fix race condition between shrinking and cleaning
* Minor formatting
* fix ci
* Update comments
* More update comment
* Adjust fn naming
2020-07-29 06:06:14 +09:00
R. M. Shea
b5065a4fde
Add Google Analytics to all Explorer pages ( #11249 )
...
* add code in head
Co-authored-by: Ryan Shea <rmshea@users.noreply.github.com>
2020-07-29 01:00:57 +08:00
dependabot[bot]
b4f950c770
chore: bump @commitlint/config-conventional in /web3.js ( #11240 )
...
Bumps [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint ) from 9.0.1 to 9.1.1.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases )
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-28 10:01:10 +00:00
carllin
a7ea340f22
Track votes from gossip for optimistic confirmation ( #11209 )
...
* Add check in cluster_info_vote_listenere to see if optimstic conf was achieved
Add OptimisticConfirmationVerifier
* More fixes
* Fix merge conflicts
* Remove gossip notificatin
* Add dashboards
* Fix rebase
* Count switch votes as well toward optimistic conf
* rename
Co-authored-by: Carl <carl@solana.com>
2020-07-28 09:33:27 +00:00