Michael Vines
81d2c3261c
Derive Pod/Zeroable for Pubkey
...
(cherry picked from commit f966859829
)
# Conflicts:
# Cargo.lock
# programs/bpf/Cargo.lock
# sdk/program/Cargo.toml
2021-10-07 07:44:12 -07:00
mergify[bot]
ed4e7c0c87
Check seed length before trying to cal program address (backport #19699 ) ( #19708 )
...
* Check seed length before trying to cal program address (#19699 )
(cherry picked from commit 778b2adbea
)
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2021-09-08 08:26:07 +00:00
mergify[bot]
e9c3f11d24
Remove native id check in pda creation (backport #19595 ) ( #19689 )
...
* Remove native id check in pda creation (#19595 )
(cherry picked from commit 529fefc7cc
)
# Conflicts:
# programs/bpf/rust/invoke/src/lib.rs
# programs/bpf_loader/src/syscalls.rs
# sdk/src/feature_set.rs
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2021-09-07 23:26:08 -07:00
mergify[bot]
f6d943aec7
SDK: Add test for illegal Pubkey::create_with_seed
owners ( #18402 )
...
(cherry picked from commit 216983c50e
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-07-03 01:27:53 +00:00
mergify[bot]
a8071f1039
chore(pubkey): remove dead code ( #18162 )
...
(cherry picked from commit 755b7c7aee
)
Co-authored-by: hrls <viktor.kharitonovich@gmail.com >
2021-06-23 17:07:21 +00:00
Trent Nelson
fcabaa7eff
sdk: refactor pda generation
2021-06-22 11:36:05 -06:00
Dmitri Makarov
2ae57c172a
Bump bpf-tools version to 1.9
...
- upgrade rustc to 1.52.1 and clang to 12.0
2021-05-20 11:35:37 +02:00
Trent Nelson
cfc1cb1aee
SDK: Factor out pubkey on-curve test to a helper
2021-04-28 20:10:19 -06:00
Trent Nelson
9b7120bf73
SDK: More conversions for Pubkey
2021-04-27 17:54:02 -06:00
Jeff Washington (jwash)
6f5d8d18e9
remove new alloc on deserialization ( #15636 )
2021-03-23 14:52:59 -05:00
Trent Nelson
98d7673a03
sdk/program: switch allow to mod-level for integer_arithmetic lint
2021-03-17 22:23:18 -06:00
Jon Cinque
0f6f6080f3
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
2021-02-18 11:14:56 +01:00
Jack May
4a4881d30f
Update find_program_address docs ( #14840 )
2021-01-25 16:03:26 -08:00
Trent Nelson
250b3969d4
SDK: Sanitize base58 pubkey input
2021-01-20 23:59:26 +00:00
carllin
5affd8aa72
Add secondary indexes ( #14212 )
2020-12-31 18:06:03 -08:00
Jack May
ab98c1f2d4
Add try_find_program_address syscall ( #14118 )
2020-12-15 08:15:01 -08:00
Jack May
3f841df7cf
Cap number of program address seeds ( #13924 )
2020-12-02 22:25:06 +00:00
Michael Vines
92d6521a7f
Add try_find_program_address()
2020-10-28 19:34:51 -07:00
Michael Vines
63db324204
Initial population of solana-program-sdk
2020-10-24 08:37:55 -07:00