-
Notifications
You must be signed in to change notification settings - Fork 261
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
Extract precompile-error crate #2300
Conversation
5b42e9b
to
26a8c80
Compare
d5d147a
to
a559cfb
Compare
df21708
to
82a0067
Compare
b9cb41a
to
592b987
Compare
Looks good! One minor nit – I think we need to update the import here to use the new crate: https://github.com/anza-xyz/agave/blob/master/programs/ed25519-tests/tests/process_transaction.rs#L8 I will wait for the crate so we can get all checks passing before approving – cc: @yihau. |
Yeah there are several places where the import should be updated but I prefer to do that separately otherwise this PR will get very big |
1ee08fe
to
e573787
Compare
@kevinheavey I think we only need to rebase and it should be good to go. |
e573787
to
02fcb27
Compare
02fcb27
to
73a73c2
Compare
* extract precompile-error crate * update PrecompileError usage * remove thiserror from precompile-error crate * fmt * remove num-derive * fix imports after rebase * sort deps * sort deps * fmt
Problem
Pulling out a
solana_sdk::transaction
crate requires pulling outsolana_sdk::precompiles
which requires pulling outsolana_sdk::ed25519_instruction
. Buted25519_instruction
depends on thePrecompileError
type fromsolana_sdk::precompiles
, soPrecompileError
needs to be pulled out to avoid a circular dependencySummary of Changes
PrecompileError
to its own cratethiserror
from the new cratePrecompileError
usage in this repo