Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add BigNumber Type and syscalls for BPF programs #17082

Closed
wants to merge 59 commits into from
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
8fea0cc
Add BigNumber and syscalls
FrankC01 May 6, 2021
2cd8645
Removed extra whitespaces
FrankC01 May 6, 2021
03af751
Updated for review comments
FrankC01 May 11, 2021
440aa5e
Merge branch 'master' of https://github.com/solana-labs/solana
FrankC01 May 11, 2021
3035860
BPF test bignum
FrankC01 May 12, 2021
56e833d
Refresh
FrankC01 May 12, 2021
2b1f3e1
BigNumber BPF testing
FrankC01 May 12, 2021
a63450b
Merge remote-tracking branch 'upstream/master'
FrankC01 May 13, 2021
01ed0b9
Addressing white spaces and removed blake3 hash, hash-to-prime and ha…
FrankC01 May 13, 2021
61b56c0
Remove println statements
FrankC01 May 13, 2021
2d8b538
Fix check failures
FrankC01 May 13, 2021
2fffc0a
Fix unused var check failures
FrankC01 May 13, 2021
4ce98c8
Removed hkdf as hashes removed from bignum and correct BPF test
FrankC01 May 13, 2021
a1725b1
Removed hkdf ref
FrankC01 May 13, 2021
ff09a57
Fixes for Cargo.lock
FrankC01 May 13, 2021
952806b
Merge remote-tracking branch 'upstream/master'
FrankC01 May 14, 2021
1d13a79
Fixed BigNumToString syscall buffer overflow
FrankC01 May 14, 2021
6011f78
Fix formatting
FrankC01 May 14, 2021
477359b
Merge remote-tracking branch 'upstream/master'
FrankC01 May 14, 2021
919cdfc
Merge remote-tracking branch 'upstream/master'
FrankC01 May 15, 2021
ca1944e
BigNumber new and from_u32 using vectors instead of Box<BigNum>
FrankC01 May 15, 2021
f5eafc7
BigNumber::from_dec_str using vectors instead of Box
FrankC01 May 15, 2021
3168320
Merge remote-tracking branch 'upstream/master'
FrankC01 May 16, 2021
9b47c24
Merge branch 'master' into bignum-to-vec
FrankC01 May 16, 2021
fba2649
BigNumber::add implemented with vectors
FrankC01 May 16, 2021
cbd738b
Formatting
FrankC01 May 16, 2021
22107d0
BigNumber simple maths using vectors instead of Box
FrankC01 May 16, 2021
47c57b1
BigNumber complex maths-part1 using vector instead of Box
FrankC01 May 17, 2021
5495cc9
Merge remote-tracking branch 'upstream/master'
FrankC01 May 17, 2021
203e619
Merge branch 'master' into bignum-to-vec
FrankC01 May 17, 2021
5e2d397
BigNumber complete conversion to vector from Box
FrankC01 May 17, 2021
069c674
Remove println call
FrankC01 May 17, 2021
7e7bebb
Remove dead code
FrankC01 May 17, 2021
ed924a5
Replace Vec with vec macro as per clippy
FrankC01 May 17, 2021
b173d59
Modernize incrementing by 1
FrankC01 May 17, 2021
aaf90d8
Modernize boolean test
FrankC01 May 17, 2021
0c9258e
remove unused imports
FrankC01 May 17, 2021
0d8a51b
Added assertions to constructor tests
FrankC01 May 17, 2021
8d02300
Merge remote-tracking branch 'upstream/master'
FrankC01 May 18, 2021
af54cae
Fix logging to include sign and refine result allocations
FrankC01 May 18, 2021
35d5c62
Cleanup tests
FrankC01 May 18, 2021
4b7925c
Updated logging for non-bpf execution
FrankC01 May 18, 2021
176e4cc
Merge remote-tracking branch 'upstream/master'
FrankC01 May 19, 2021
bc7eb30
Doubled BigNumber syscall execution base units
FrankC01 May 19, 2021
4f96707
Merged with upstream
FrankC01 May 19, 2021
1f422ab
Fix deadcode errors
FrankC01 May 19, 2021
7a00993
Fix assertion expression
FrankC01 May 19, 2021
ed9cbd5
move Ancestors to its own module (#17316)
jeffwashington May 19, 2021
c20b27b
shink all in parallel on startup (#17308)
jeffwashington May 19, 2021
f1b4a0a
Fix typo (#17326)
ulrichstark May 19, 2021
b5302e7
add calc_stored_meta_us metric (#17318)
jeffwashington May 19, 2021
e7073ec
adds gossip metrics for number of staked nodes (#17330)
behzadnouri May 19, 2021
477898f
Optimize aligned memory used by the runtime (#17324)
jackcmay May 19, 2021
13b032b
removes manual trait impl for contact-info (#17332)
behzadnouri May 19, 2021
32ec834
generate_index inserts ideal initial data (#17247)
jeffwashington May 19, 2021
a544010
don't log shrink metrics on first call (#17328)
jeffwashington May 20, 2021
2ae57c1
Bump bpf-tools version to 1.9
dmakarov May 18, 2021
abe0064
syscall corrections
FrankC01 May 20, 2021
86c9814
Hard reset
FrankC01 May 20, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 54 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions programs/bpf_loader/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ solana-runtime = { path = "../../runtime", version = "=1.7.0" }
solana-sdk = { path = "../../sdk", version = "=1.7.0" }
solana_rbpf = "=0.2.8"
thiserror = "1.0"
hkdf = "0.11.0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: nice to keep these in alphabetical order

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 03af751

blake3 = "0.3.7"
openssl = "0.10.32"

[dev-dependencies]
rand = "0.7.3"
Expand Down
Loading