Commit Graph

12020 Commits

Author SHA1 Message Date
c24fbb6f8b Fix duplicate records of inner instructions (#13380)
* Fix duplicate records of inner instructions

* fix tests

* fix clippy

* Remove bad_inner_instructions
2020-11-05 15:23:52 +08:00
66c3c6c2b3 CI: Use branch-versioned cargo throughout 2020-11-05 05:05:57 +00:00
dd54ea78ac Bump low end validator RAM requirement (#13406) 2020-11-05 11:56:14 +08:00
8c4995b22b Improve invoke_signed() docs 2020-11-04 23:44:04 +00:00
661a935075 Final program ELF is now placed in ./target/deploy/ instead of . 2020-11-04 23:03:55 +00:00
8838a55a1a Bump spl-token and spl-memo crate versions 2020-11-04 21:44:33 +00:00
8aa00381ef stack overflow docs (#13399)
* stack overflow docs

* whitespace
2020-11-04 21:35:59 +00:00
cb2e8f9084 Add remaining stage 9 TdS validators 2020-11-04 13:44:57 -07:00
97284adabb Update SPL Token exchange documentation to include associated-token-account workflow 2020-11-04 11:41:29 -08:00
10fa4f45ab uses thread-pool when handling push messages (#13338)
From runtime profiles, the majority time of solana-listen thread:
https://github.com/solana-labs/solana/blob/55b0428ff/core/src/cluster_info.rs#L2720
is spent handling push messages. The code here:
https://github.com/solana-labs/solana/blob/55b0428ff/core/src/cluster_info.rs#L2272-L2364
may utilize the idle gossip thread-pool.
2020-11-04 19:15:58 +00:00
0d663158d0 Reduce repair_stats debug (#13393) 2020-11-04 10:32:48 -08:00
7ee0c9e68a Add non-progress bar download status (#13370) 2020-11-04 10:32:27 -08:00
bb63e9486d Update validator_list.rs 2020-11-04 10:47:00 -07:00
4999fe298b Rbpf v0.2.0 (#13365)
* Updates rbpf to v0.2.0,
which unifies the interfaces of the interpreter and the JIT.
However, the JIT is not enabled yet.
2020-11-04 18:46:26 +01:00
5db6e4748d Update validator_list.rs 2020-11-04 10:37:43 -07:00
bbe2834c82 Update validator_list.rs 2020-11-04 10:27:28 -07:00
43053dcc90 Re-use accounts stores (#12885)
* Re-use accounts_db stores

Creating files and dropping mmap areas can be expensive

* Add test for storage finder

Can encounter an infinite loop when the store is too small, but
smaller than the normal store size.

* Fix storage finding

* Check for strong_count == 1

* try_recycle helper
2020-11-04 09:17:05 -08:00
b0d1ae1d8b Comment Stakes::clone_with_epoch (#13388) 2020-11-04 11:18:05 +00:00
f349def5d4 chore: bump @babel/runtime from 7.12.1 to 7.12.5 in /web3.js (#13386)
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) from 7.12.1 to 7.12.5.
- [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.12.5/packages/babel-runtime)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-04 09:50:13 +00:00
88737f24b0 chore: bump jest from 26.6.2 to 26.6.3 in /web3.js (#13385)
Bumps [jest](https://github.com/facebook/jest) from 26.6.2 to 26.6.3.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v26.6.2...v26.6.3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-04 09:48:34 +00:00
169b334660 chore:(deps): bump @testing-library/react in /explorer (#13382)
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 11.1.0 to 11.1.1.
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-testing-library/compare/v11.1.0...v11.1.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-04 09:27:21 +00:00
d498ac229f chore: bump codecov from 3.8.0 to 3.8.1 in /web3.js (#13384)
Bumps [codecov](https://github.com/codecov/codecov-node) from 3.8.0 to 3.8.1.
- [Release notes](https://github.com/codecov/codecov-node/releases)
- [Changelog](https://github.com/codecov/codecov-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-node/compare/v3.8.0...v3.8.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-04 09:22:34 +00:00
2840201e41 chore:(deps): bump @solana/web3.js from 0.86.3 to 0.86.4 in /explorer (#13383)
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 0.86.3 to 0.86.4.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases)
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.86.3...v0.86.4)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-04 09:12:03 +00:00
b5ef319038 Refine transaction log count message 2020-11-04 05:30:52 +00:00
6d9ca0ae15 Surface transaction logs in rpc client 2020-11-03 17:03:28 -08:00
04c5e6cc48 more informative feature error message (#13373) 2020-11-04 00:08:08 +00:00
3d5e778d5d Flesh out development docs (#13318)
* flesh out development docs

* nits
2020-11-03 20:53:17 +00:00
546915ee12 fix: update StakeProgram.space() (#13371) 2020-11-03 13:40:45 -07:00
fefa297877 docs: Mainnet-beta totally has smart contract enabled 2020-11-03 19:04:30 +00:00
f6a73098a4 Update sol_log_compute_units (#13360) 2020-11-03 08:16:31 -08:00
9e577d0338 chore: bump jest from 26.6.1 to 26.6.2 in /web3.js (#13361)
Bumps [jest](https://github.com/facebook/jest) from 26.6.1 to 26.6.2.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v26.6.1...v26.6.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-03 09:28:12 +00:00
a9a01c308e chore:(deps): bump @solana/web3.js from 0.86.2 to 0.86.3 in /explorer (#13362)
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 0.86.2 to 0.86.3.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases)
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.86.2...v0.86.3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-03 09:11:36 +00:00
c3d2d2134c Include Rent in ProgramTest::start() output 2020-11-03 02:01:47 +00:00
d3a3a7548c explorer: add serum new order v2 instruction mapping (#13353) 2020-11-02 11:49:26 -08:00
120fc03aff Add validators to SoM list (#13322) 2020-11-02 11:42:46 -07:00
582602dc57 fix: add feePayer type in TransactionCtorFields (#13343) 2020-11-02 21:34:24 +08:00
c05a038475 Revert "fix web3js: add feePayer type in TransactionCtorFields (#13343)"
This reverts commit 1c75db41e3.
2020-11-02 21:34:17 +08:00
c54a3e82e9 chore: bump rollup from 2.32.1 to 2.33.1 in /web3.js (#13348)
Bumps [rollup](https://github.com/rollup/rollup) from 2.32.1 to 2.33.1.
- [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.32.1...v2.33.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-02 09:22:23 +00:00
5b6f360f51 chore: bump @solana/spl-token from 0.0.11 to 0.0.13 in /web3.js (#13346)
Bumps [@solana/spl-token](https://github.com/solana-labs/solana-program-library) from 0.0.11 to 0.0.13.
- [Release notes](https://github.com/solana-labs/solana-program-library/releases)
- [Commits](https://github.com/solana-labs/solana-program-library/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-02 09:17:50 +00:00
7996f7e227 chore:(deps): bump @types/react-select in /explorer (#13350)
Bumps [@types/react-select](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-select) from 3.0.22 to 3.0.23.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-select)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-02 09:14:53 +00:00
84e3218cdb chore:(deps): bump @project-serum/serum in /explorer (#13349)
Bumps [@project-serum/serum](https://github.com/project-serum/serum-js) from 0.13.9 to 0.13.11.
- [Release notes](https://github.com/project-serum/serum-js/releases)
- [Commits](https://github.com/project-serum/serum-js/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-02 09:14:39 +00:00
a0f40711c6 chore: bump semantic-release from 17.2.1 to 17.2.2 in /web3.js (#13303)
Bumps [semantic-release](https://github.com/semantic-release/semantic-release) from 17.2.1 to 17.2.2.
- [Release notes](https://github.com/semantic-release/semantic-release/releases)
- [Commits](https://github.com/semantic-release/semantic-release/compare/v17.2.1...v17.2.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-02 09:07:41 +00:00
5c09193019 Add warning to PR template for mirrored repos (#13344) 2020-11-02 14:34:14 +08:00
1c75db41e3 fix web3js: add feePayer type in TransactionCtorFields (#13343)
Co-authored-by: Son Nguyen <nhson@HKMAC0371.local>
2020-11-02 14:00:00 +08:00
0e4509c497 Small code cleanup and typo fixes (#13325)
* Small code cleanup and typo fixes

* Clean up calculate_points_and_credits
2020-11-02 10:28:24 +09:00
55b0428ff7 Add store-tool (#13254) 2020-11-01 09:41:28 -08:00
af9a3f004e Fix typos (#13334) 2020-11-01 06:52:41 +00:00
e60bda082d Adapt to feature::create_account 2020-11-01 05:53:29 +00:00
a3912bc084 Add design proposal and update validator-timestamp-oracle 2020-10-31 21:30:42 -07:00
3a1e125ce3 Add Clock sysvar details, update struct docs 2020-10-31 21:30:42 -07:00