Commit Graph

12253 Commits

Author SHA1 Message Date
bc7133d752 Print the entry type as well when checking archive (#13312) 2020-10-31 01:36:12 +09:00
1df15d85c3 Fix tower/blockstore unsync due to external causes (#12671)
* Fix tower/blockstore unsync due to external causes

* Add and clean up long comments

* Clean up test

* Comment about warped_slot_history

* Run test_future_tower with master-only/master-slave

* Update comments about false leader condition
2020-10-30 19:31:23 +09:00
9263ae1c60 Simplify CPI interface into MessageProcessor 2020-10-30 09:20:09 +00:00
da9548fd12 de-mut some InvokeContext methods 2020-10-30 09:20:09 +00:00
8330123861 chore:(deps): bump @sentry/react from 5.26.0 to 5.27.2 in /explorer (#13306)
Bumps [@sentry/react](https://github.com/getsentry/sentry-javascript) from 5.26.0 to 5.27.2.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/5.26.0...5.27.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-30 08:25:25 +00:00
72d41e5801 Update AccountInfo comments (#13302) 2020-10-30 08:16:44 +00:00
387d85c5b5 chore:(deps): bump @solana/web3.js from 0.86.1 to 0.86.2 in /explorer (#13305)
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 0.86.1 to 0.86.2.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases)
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.86.1...v0.86.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-30 08:14:29 +00:00
1f36ac9656 chore:(deps): bump @types/classnames from 2.2.10 to 2.2.11 in /explorer (#13304)
Bumps [@types/classnames](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/classnames) from 2.2.10 to 2.2.11.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/classnames)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-30 08:12:24 +00:00
7ddf10e602 explorer: add Wrapped FRONT to token registry (#13299) 2020-10-29 22:37:22 -07:00
da361afbb9 Revert "Updates rbpf to v0.2.0, (#12951)"
This reverts commit 6606590b81.
2020-10-29 21:45:24 -07:00
7d686b72a0 Add Bank::set_bpf_compute_budget() 2020-10-29 21:45:24 -07:00
66e51a7363 Add sol_log_compute_units syscall 2020-10-29 21:45:24 -07:00
33884d847a Remove programs clone() 2020-10-29 21:45:24 -07:00
225bed11c7 Remove Entrypoint type 2020-10-29 21:45:24 -07:00
2664a1f7ef Remove MessageProcessor::loaders 2020-10-29 21:45:24 -07:00
df8dab9d2b Native/builtin programs now receive an InvokeContext 2020-10-29 21:45:24 -07:00
ca00197009 Upgrade tarpc and tokio (#13293) 2020-10-29 19:21:18 -06:00
b5c8b86e7c clarify comment (#13289) 2020-10-29 21:16:01 +00:00
ecd74c3786 Explorer: correct system instruction names (#13284)
* fix system instruction names
2020-10-29 13:14:22 -07:00
6606590b81 Updates rbpf to v0.2.0, (#12951)
which unifies the interfaces of the interpreter and the JIT.
However, the JIT is not enabled yet.
2020-10-29 11:34:52 -07:00
7b3f96ab30 fix: fallback to connection commitment when confirming transactions (#13285)
* fix: fallback to connection commitment when confirming transactions

* chore: bump

* chore: fix tests
2020-10-29 17:22:53 +00:00
636ae12621 Explorer: use explicit types for instruction info (#13257) 2020-10-29 23:46:36 +08:00
0d233370e8 Explorer: disable sentry error for cluster stats timeout (#13283) 2020-10-29 08:38:51 -07:00
3738611f5c adds more parallel processing to gossip packets handling (#12988) 2020-10-29 15:17:19 +00:00
363c148dbe Disable eager rent collection for less noise (#13275) 2020-10-29 14:16:38 +00:00
be80f6d5c5 excludes origin from prune set (#13204)
On the receiving end, prune messages are ignored if the origin points to
the node itself:
https://github.com/solana-labs/solana/blob/631f029fe/core/src/crds_gossip_push.rs#L285-L295
So to avoid sending these over the wire, the requester can exclude
origin from the prune set.
2020-10-29 12:50:58 +00:00
0f05e086fe Explorer: fix slot links and block details page on devnet (#13274) 2020-10-29 20:34:05 +08:00
c74c565d25 Explorer: Bump web3 to v0.86.1 (#13273) 2020-10-29 20:20:42 +08:00
65ee3a6bdd Refactors the common code of test and bench targets into the solana_runtime::bpf_test_utils module. (#13203) 2020-10-29 10:04:47 +01:00
a9f339a3ed chore:(deps): bump @types/react from 16.9.53 to 16.9.55 in /explorer (#13271)
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 16.9.53 to 16.9.55.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-29 08:38:45 +00:00
bacfb5103f chore:(deps): bump @types/react-dom from 16.9.8 to 16.9.9 in /explorer (#13228)
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 16.9.8 to 16.9.9.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-29 08:26:35 +00:00
ebcc8086f8 chore:(deps): bump @types/node from 14.14.5 to 14.14.6 in /explorer (#13270)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.5 to 14.14.6.
- [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-10-29 08:10:07 +00:00
5fb8b84d84 Explorer: tweak cluster stats page (#13267) 2020-10-29 13:17:45 +08:00
ffeadd4e29 Explorer: don't throw error for strange token instructions (#13268) 2020-10-29 13:17:35 +08:00
c458d4b213 move Account to solana-sdk (#13198) 2020-10-28 22:01:07 -07:00
d5e439037b Make bad_bank_hash test faster (#13206) 2020-10-28 21:44:42 -07:00
032a7d36ff explorer: wrap bytes on bpf-loader-2 write instruction (#13253) 2020-10-28 21:08:24 -07:00
61c2970141 Explorer: remove wasm stake parsing (#13266) 2020-10-29 11:37:55 +08:00
bc16b58d75 fix: fix TypeError when confirmed block is not found (#13264) 2020-10-29 11:23:07 +08:00
781b92a8c0 Explorer: Linkify all displays of slot number (#13262) 2020-10-29 10:45:44 +08:00
144bd36674 Explorer: fix confirmed block refetch (#13261) 2020-10-29 10:36:48 +08:00
92d6521a7f Add try_find_program_address() 2020-10-28 19:34:51 -07:00
c2dbf53d76 Update FeatureSet::active to include slot-activated (#13256)
* Update FeatureSet::active to include slot-activated

* Clippy suggestion
2020-10-29 02:34:19 +00:00
a74f0f90e4 Explorer: Disable raw button for unknown instructions (#13260) 2020-10-29 10:27:37 +08:00
2cf44a9e14 Explorer: Show empty state when block has no transactions (#13259) 2020-10-29 09:51:19 +08:00
de71fb9bdd Explorer: trim whitespace in search bar (#13258) 2020-10-29 09:44:27 +08:00
e7b7c15198 feat: print program logs when transaction send fails (#13213) 2020-10-29 08:59:16 +08:00
413dfb01d5 explorer: Update instruction details cards to handle parsed instructions for system, stake, and bpf-loader (#13247)
* update instruction cards to support system, stake, and bpf-loader parsed instructions
2020-10-28 15:28:12 -07:00
db9ddc7e5b Update links from sdk to program (#13248) 2020-10-28 15:16:58 -06:00
664b6125b6 Add doc page on sysvar accounts (#13237)
* Add doc page on sysvar accounts

* Update with suggestions
2020-10-28 14:54:36 -06:00