Jack May
1c23f135bf
Bump rbpf to v0.2.4 ( #14867 )
2021-01-26 22:49:57 +00:00
mergify[bot]
d380b9cef7
Add more upgradeable tests ( #14846 ) ( #14850 )
...
(cherry picked from commit e57b9c3b02
)
Co-authored-by: Jack May <jack@solana.com >
2021-01-26 09:42:49 -08: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]
480a35d678
Track account writable deescalation (bp #14626 ) ( #14787 )
...
* Track account writable deescalation (#14626 )
(cherry picked from commit 77572a7c53
)
# Conflicts:
# sdk/src/feature_set.rs
* fix conflicts
Co-authored-by: Jack May <jack@solana.com >
2021-01-23 03:33:21 +00:00
mergify[bot]
733a1c85cf
Add block_time to getConfirmedSignaturesForAddress2 and getConfirmedTransaction (bp #14572 ) ( #14728 )
...
* Add block_time to getConfirmedSignaturesForAddress2 and getConfirmedTransaction (#14572 )
* add block_time to get_confirmed_signatures_for_address2 and protobuf implementation for tx_by_addr
* add tests for convert
* update cargo lock
* run cargo format after rebase
* introduce legacy TransactionByAddrInfo
* move LegacyTransactionByAddrInfo back to storage-bigtable
(cherry picked from commit 1de6d28eaf
)
* fix local sanity script
* add missing block_time field
Co-authored-by: Josh <josh.hundley@gmail.com >
2021-01-22 02:02:45 +00:00
mergify[bot]
6e6a55b7d6
Add signer/writable de/escalation tests ( #14726 ) ( #14739 )
...
(cherry picked from commit aa96ad042b
)
Co-authored-by: Jack May <jack@solana.com >
2021-01-21 10:39:08 +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
mergify[bot]
bdfffd0151
Add load/execute/store timings ( #14561 ) ( #14591 )
...
(cherry picked from commit 907f518f6d
)
Co-authored-by: sakridge <sakridge@gmail.com >
2021-01-14 23:48:36 +00:00
mergify[bot]
771b98a168
Load executable accounts from invoke context ( #14574 ) ( #14575 )
...
(cherry picked from commit 6e8a1ba7de
)
Co-authored-by: Jack May <jack@solana.com >
2021-01-14 09:39:26 +00:00
Trent Nelson
1b02ec4f6e
Bump version to v1.5.4
2021-01-14 04:40:25 +00:00
Alexander Meißner
89241cedba
Bump RBPF version to v0.2.3
...
(cherry picked from commit 0d26cb6d37
)
2021-01-12 09:47:28 -08:00
mergify[bot]
fc59a08f0e
Bail on all CPI errors ( #14500 ) ( #14507 )
...
* Bail on all CPI errors
* whitespace
(cherry picked from commit ec48631fc5
)
Co-authored-by: Jack May <jack@solana.com >
2021-01-09 04:44:14 +00:00
Michael Vines
ec15ea079f
Bump version to 1.5.3
2021-01-08 16:19:27 -08:00
mergify[bot]
7dd7141307
Suppress cargo audit failure for difference
crate (bp #14488 ) ( #14493 )
...
* Suppress cargo audit failure for `difference` crate, there's no newer crate to upgrade to yet
(cherry picked from commit 3eaa826ad9
)
* Bump smallvec version
(cherry picked from commit 21a0a83543
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-01-08 21:52:28 +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
mergify[bot]
0063a58e95
Upgradeable programs needs program account's address as program id ( #14417 ) ( #14420 )
...
(cherry picked from commit 0619805806
)
Co-authored-by: Jack May <jack@solana.com >
2021-01-04 23:00:36 +00:00
Michael Vines
97665b977e
Bump version to v1.5.2
2021-01-04 06:44:52 +00:00
mergify[bot]
e2ddb2f0ea
Limit CPI instruction size ( #14317 ) ( #14321 )
...
(cherry picked from commit 5524938a50
)
Co-authored-by: Jack May <jack@solana.com >
2020-12-29 02:38:22 +00:00
Michael Vines
02da7dfedf
Bump version to v1.5.1
2020-12-27 21:57:43 -08:00
mergify[bot]
bf4c169703
Prevent bpf loader impersonators ( #14278 ) ( #14279 )
...
(cherry picked from commit ee0a80a092
)
Co-authored-by: Jack May <jack@solana.com >
2020-12-24 04:24:30 +00:00
mergify[bot]
0020e43476
Don't use caller passed executable account ( #14276 ) ( #14277 )
...
(cherry picked from commit b1d702a618
)
Co-authored-by: Jack May <jack@solana.com >
2020-12-23 23:52:04 +00:00
mergify[bot]
a9a2c76221
Limit CPI from calling loader or native programs ( #14252 ) ( #14275 )
...
(cherry picked from commit 0b479ab180
)
Co-authored-by: Jack May <jack@solana.com >
2020-12-23 20:01:56 +00:00
mergify[bot]
582b4c9edf
Upgradeable programs called same as non-upgradeable ( #14239 ) ( #14254 )
...
* Upgradeable programs called same as non-upgradeable
* nudge
(cherry picked from commit ab205b682a
)
Co-authored-by: Jack May <jack@solana.com >
2020-12-22 21:17:18 +00:00
mergify[bot]
a57758e9c9
Add CPI support for upgradeable loader (bp #14193 ) ( #14199 )
2020-12-18 11:23:00 -08:00
mergify[bot]
ff728e5e56
Fix program account rent exemption ( #14176 ) ( #14180 )
...
(cherry picked from commit 593ad80954
)
Co-authored-by: Jack May <jack@solana.com >
2020-12-17 03:46:43 -08:00
mergify[bot]
76a3b3ad11
Remove lock files from programs/bpf/rust ( #14148 ) ( #14158 )
...
(cherry picked from commit 49c3f14016
)
Co-authored-by: Jack May <jack@solana.com >
2020-12-16 11:56:48 +00:00
mergify[bot]
356c663e88
check for resize access violations ( #14142 ) ( #14152 )
...
(cherry picked from commit 025f886e10
)
Co-authored-by: Jack May <jack@solana.com >
2020-12-16 10:28:27 +00: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
dependabot[bot]
88d950e5a8
chore: bump log from 0.4.8 to 0.4.11 ( #13691 )
...
* chore: bump log from 0.4.8 to 0.4.11
Bumps [log](https://github.com/rust-lang/log ) from 0.4.8 to 0.4.11.
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/compare/0.4.8...0.4.11 )
Signed-off-by: dependabot[bot] <support@github.com >
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com >
2020-12-13 13:48:23 +09:00
dependabot[bot]
8df9bcc784
chore: bump libc from 0.2.80 to 0.2.81 ( #14092 )
...
* chore: bump libc from 0.2.80 to 0.2.81
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.80 to 0.2.81.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.80...0.2.81 )
Signed-off-by: dependabot[bot] <support@github.com >
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com >
2020-12-13 12:13:17 +09:00
dependabot[bot]
549a3107cb
chore: bump env_logger from 0.7.1 to 0.8.2 ( #14093 )
...
* chore: bump env_logger from 0.7.1 to 0.8.2
Bumps [env_logger](https://github.com/env-logger-rs/env_logger ) from 0.7.1 to 0.8.2.
- [Release notes](https://github.com/env-logger-rs/env_logger/releases )
- [Changelog](https://github.com/env-logger-rs/env_logger/blob/master/CHANGELOG.md )
- [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.7.1...v0.8.2 )
Signed-off-by: dependabot[bot] <support@github.com >
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com >
2020-12-13 05:59:54 +09:00
dependabot[bot]
a9185d4ea1
chore: bump rustversion from 1.0.3 to 1.0.4 ( #14022 )
...
* chore: bump rustversion from 1.0.3 to 1.0.4
Bumps [rustversion](https://github.com/dtolnay/rustversion ) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/dtolnay/rustversion/releases )
- [Commits](https://github.com/dtolnay/rustversion/compare/1.0.3...1.0.4 )
Signed-off-by: dependabot[bot] <support@github.com >
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com >
2020-12-13 03:56:27 +09:00
Trent Nelson
546c6a4531
Override yanked miow crate to 0.2.2
2020-12-11 23:44:03 +00:00
Trent Nelson
277b6790c7
Override yanked net2 0.2.37
2020-12-11 23:44:03 +00:00
Trent Nelson
edff62af3d
Switch to memmap2 fork
2020-12-11 23:44:03 +00:00
Jack May
5ea80e673f
Fix priv escalation test ( #14046 )
2020-12-10 22:36:33 +00:00
Alexander Meißner
201637b326
Updates rbpf to v0.2.2 ( #14036 )
...
* Updates rbpf to v0.2.2
2020-12-10 16:32:54 +01:00
Jack May
e1a4251b07
Cap CPI signers ( #14021 )
2020-12-09 02:14:53 -08:00
Jack May
882d033233
Don't use stale executor cache ( #13966 )
2020-12-05 05:54:42 +00:00
Jack May
661ca52135
Cap seeds not signers ( #13941 )
2020-12-03 09:58:25 -08:00
Jack May
1c51711c75
Invoke with empty account slice ( #13931 )
2020-12-03 07:06:26 -08:00
Jack May
85bec37be4
Translate data length and owner as writable ( #13914 )
2020-12-02 09:05:42 -08: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
733fcbaa6c
Check that the program was granted access to program_id ( #13890 )
2020-12-01 07:35:07 -08:00
Michael Vines
6705b5a98c
Add msg! macro for program logging, deprecate info! macro
2020-11-30 20:39:42 -08:00
Jack May
40dd46680e
Cleanup bpf test's Cargo.toml files ( #13867 )
...
* Cleanup bpf test's Cargo.toml files
* lock file
2020-11-30 21:16:37 +00:00