Michael Vines
6242809a07
Bump version to 1.5.13
2021-03-03 21:51:34 +00:00
sakridge
fa7067950a
Update version to v1.5.11 ( #15574 )
2021-02-27 04:27:54 +00:00
mergify[bot]
7d67f5b18c
check program owners ( #15495 ) ( #15568 )
...
* check program owners
* BankSlotDelta should change because InstructionError variant added
Co-authored-by: Tyera Eulberg <tyera@solana.com >
(cherry picked from commit 8399851d11
)
Co-authored-by: sakridge <sakridge@gmail.com >
2021-02-26 23:34:55 +00:00
Michael Vines
a80ac11b68
Bump version to v1.5.11
2021-02-25 09:12:39 -08:00
Ryo Onodera
a52a22f558
Bump version to 1.5.10 ( #15533 )
2021-02-25 21:00:17 +09:00
Michael Vines
5216f51ff2
Rename IOError to BorshIoError
2021-02-19 10:54:59 -08:00
mergify[bot]
7148aaa30c
chore: bump serde from 1.0.112 to 1.0.118 (bp #14828 ) ( #15394 )
...
* chore: bump serde from 1.0.112 to 1.0.118 (#14828 )
* chore: bump serde from 1.0.112 to 1.0.122
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.112 to 1.0.122.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.112...v1.0.122 )
Signed-off-by: dependabot[bot] <support@github.com >
* [auto-commit] Update all Cargo lock files
* Update frozen_abi digest following serde update
* Revert "chore: bump serde from 1.0.112 to 1.0.122"
This reverts commit a3ef4442a4
.
* Revert "[auto-commit] Update all Cargo lock files"
This reverts commit c41c3b005f
.
* chore: bump serde from 1.0.112 to 1.0.118
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.112 to 1.0.118.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.112...v1.0.118 )
Signed-off-by: dependabot[bot] <support@github.com >
* [auto-commit] Update all Cargo lock files
* Remove serum-dex pinning
* blind commit!
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com >
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
(cherry picked from commit 1df93fa2be
)
# Conflicts:
# banks-interface/Cargo.toml
# perf/Cargo.toml
# programs/config/Cargo.toml
* Fix conflicts
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2021-02-18 13:29:17 +00:00
mergify[bot]
7a3c4c184f
sdk: Add Borsh support for types and utilities (bp #15290 ) ( #15393 )
...
* sdk: Add Borsh support for types and utilities (#15290 )
* sdk: Add Borsh to Pubkey
* Add serialization error for easier borsh integration
* Add Borsh usage to banks-client and sdk
* Rename SerializationError -> IOError
* Add new errors to proto
* Update Cargo lock
* Update Cargo.lock based on CI
* Clippy
* Update ABI on bank
* Address review feedback
* Update sanity program instruction count test
(cherry picked from commit 0f6f6080f3
)
# Conflicts:
# banks-client/Cargo.toml
* Update new dependencies
Co-authored-by: Jon Cinque <jon.cinque@gmail.com >
2021-02-18 13:23:08 +00:00
mergify[bot]
1a8b57fcd0
First step towards denying clippy::integer_arithmetic (bp #15366 ) ( #15381 )
...
* CI: Globally deny clippy::integer_arithmetic lint
(cherry picked from commit 7035e8485c
)
* Re-allow clippy::integer_arithmetic at crate-level
(cherry picked from commit 7f7370c306
)
# Conflicts:
# bench-tps/tests/bench_tps.rs
Co-authored-by: Trent Nelson <trent@solana.com >
2021-02-17 22:30:03 +00:00
mergify[bot]
0a1fcfa08b
docs: Remove references to "create_address_with_seed" ( #15339 ) ( #15372 )
...
(cherry picked from commit 3ac7e09de6
)
Co-authored-by: Jon Cinque <jon.cinque@gmail.com >
2021-02-17 14:50:25 +00:00
Michael Vines
8820933287
Bump version to 1.5.9
2021-02-16 22:17:10 -08:00
Tyera Eulberg
65600f9a1f
Move fn to sdk
2021-02-16 19:24:35 -08:00
mergify[bot]
99012f022e
sdk: sanitize Hash
base58 input ( #15315 )
...
(cherry picked from commit 1a20ab968f
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-02-13 09:54:06 +00:00
Trent Nelson
20afb912cd
Bump version to 1.5.8
2021-02-13 04:34:36 +00:00
Michael Vines
cd994f0162
Bump version to 1.5.7
2021-02-10 05:18:39 +00:00
mergify[bot]
f463ebfde2
Upgradeable loader max_data_len limit ( #15039 ) ( #15057 )
...
(cherry picked from commit d24d5fba0e
)
Co-authored-by: Jack May <jack@solana.com >
2021-02-03 18:34:06 +00:00
mergify[bot]
08bda35fd6
Buffer authority must match upgrade authority for deploys and upgrades (bp #14923 ) ( #14935 )
...
* Buffer authority must match upgrade authority for deploys and upgrades (#14923 )
(cherry picked from commit 07cef5a557
)
# Conflicts:
# cli/src/program.rs
# cli/tests/program.rs
* fix conflicts
Co-authored-by: Jack May <jack@solana.com >
2021-01-29 23:04:23 +00:00
Michael Vines
4378634970
Bump version to 1.5.6
2021-01-27 10:50:56 -08:00
Jack May
0cd1cce588
Update find_program_address docs ( #14840 )
...
(cherry picked from commit 4a4881d30f
)
2021-01-26 08:53:44 -08:00
mergify[bot]
c9da25836a
Upgrade to Rust v1.49.0 (bp #14810 ) ( #14811 )
...
* Upgrade to Rust v1.49.0
(cherry picked from commit cbffab7850
)
# Conflicts:
# core/src/crds_value.rs
* rebase
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-01-24 04:42:09 +00:00
mergify[bot]
b48dd58fda
Upgrade sha2 to 0.9.3 ( #14746 ) ( #14799 )
...
(cherry picked from commit 191193289f
)
Co-authored-by: sakridge <sakridge@gmail.com >
2021-01-23 23:08:33 +00:00
mergify[bot]
dfbe38b859
Add solana-test-validator --warp-slot argument (bp #14785 ) ( #14796 )
...
* Add convenience function to create a snapshot archive out of any Bank
(cherry picked from commit dd5a2ef05f
)
* Add solana-test-validator --warp-slot argument
(cherry picked from commit bf1943e489
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-01-23 06:38:16 +00:00
mergify[bot]
74f813574f
Nonce address doesn't sign AdvanceNonceAccount ( #14722 )
...
(cherry picked from commit 447e3de1f2
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-01-21 05:31:55 +00:00
mergify[bot]
87825f3beb
Sanitize base58 pubkeys and sigs (bp #14708 ) ( #14712 )
...
* SDK: Sanitize base58 pubkey input
(cherry picked from commit 250b3969d4
)
* SDK: Sanitize base58 signature input
(cherry picked from commit 2783aee483
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-01-21 02:39:58 +00:00
Jack May
d72c90e475
Bump version to v1.5.5 ( #14700 )
2021-01-20 20:26:16 +00:00
mergify[bot]
44ad4a1ecd
Prevent the invoke and upgrade of programs in the same tx batch (bp #14653 ) ( #14680 )
2021-01-19 17:58:45 -08:00
Trent Nelson
1b02ec4f6e
Bump version to v1.5.4
2021-01-14 04:40:25 +00:00
Michael Vines
ec15ea079f
Bump version to 1.5.3
2021-01-08 16:19:27 -08:00
mergify[bot]
e5175c843d
Add buffer authority to upgradeable loader ( #14482 ) ( #14485 )
...
(cherry picked from commit 58487c6360
)
Co-authored-by: Jack May <jack@solana.com >
2021-01-08 18:54:11 +00:00
mergify[bot]
0fbdc7e152
Enable program upgrades via CPI ( #14449 ) ( #14469 )
...
(cherry picked from commit 5eacc5d08d
)
Co-authored-by: Jack May <jack@solana.com >
2021-01-06 23:45:10 +00:00
Michael Vines
97665b977e
Bump version to v1.5.2
2021-01-04 06:44:52 +00:00
mergify[bot]
f6de92c346
Add secondary indexes ( #14212 ) ( #14382 )
...
(cherry picked from commit 5affd8aa72
)
Co-authored-by: carllin <wumu727@gmail.com >
2021-01-01 07:42:47 +00:00
Michael Vines
02da7dfedf
Bump version to v1.5.1
2020-12-27 21:57:43 -08:00
mergify[bot]
485b3d64a1
Add Program loader/environment instruction errors ( #14120 ) ( #14143 )
...
(cherry picked from commit d513b0c4ca
)
Co-authored-by: Jack May <jack@solana.com >
2020-12-16 03:50:04 +00:00
Jack May
ab98c1f2d4
Add try_find_program_address syscall ( #14118 )
2020-12-15 08:15:01 -08:00
Jack May
9e90394583
Upgradeable loader ( #13689 )
2020-12-14 15:35:10 -08:00
Michael Vines
7143aaa89b
Clippy
2020-12-14 08:03:29 -08:00
Jack May
1d95b5476e
Add next_account_infos helper ( #14087 )
2020-12-12 20:12:56 -08:00
Jack May
d9655ea507
Add message helpers to get program info ( #14047 )
2020-12-10 16:39:43 -08:00
Jack May
5ea80e673f
Fix priv escalation test ( #14046 )
2020-12-10 22:36:33 +00:00
Jack May
20c0e8793e
Rent account passed to loader can be read-only ( #13997 )
2020-12-07 19:44:32 +00:00
Jack May
3f841df7cf
Cap number of program address seeds ( #13924 )
2020-12-02 22:25:06 +00:00
Trent Nelson
17defbff13
Make Accounts::is_non_loader_key()
a method on Message
2020-12-02 20:10:08 +00:00
Alexander Meißner
aebc3a17ce
Fix undefined symbol "custom panic" in BPF test programs ( #13840 )
...
* Implements missing "custom_panic" symbol
2020-12-01 16:52:20 +01:00
Jack May
57dd60f671
Use msg! in program entrypoint ( #13889 )
2020-12-01 10:56:26 +00:00
Michael Vines
6705b5a98c
Add msg! macro for program logging, deprecate info! macro
2020-11-30 20:39:42 -08:00
Tyera Eulberg
91f4e99b4c
Fix parsing CreateAccountWithSeed instructions ( #13513 )
...
* Reduce required num_system_accounts and handle 2-account instructions properly
* Update CreateAccountWithSeed account docs to be correct
* Add CreateAccountWithSeed test
2020-11-10 23:51:53 +00:00
Jack May
c280d40b40
align cluster and sim logging as hex ( #13484 )
2020-11-10 02:43:20 +00:00
Jack May
461ae40eea
provide full Rust panic messages in BPF and add memory optimizations ( #13455 )
2020-11-09 13:40:26 -08:00
Tyera Eulberg
4c5f345798
Fix stake split rent-exempt adjustment ( #13357 )
...
* Add failing tests
* Fix stake split
* Calculate split rent-exempt-reserve and use
* Add comment in rent.rs
* Add tests for edge cases when splitting to larger accounts, and reject overflow splits
* Reframe InsufficientFunds checks in terms of lamports var
* Test hardening review comments
2020-11-06 20:32:05 +00:00