File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4949 - name : Run tests (std)
5050 run : cargo test --features std --verbose
5151
52- - name : Run tests (soroban-bn254- precompile)
53- run : cargo test --features soroban-bn254- precompile --verbose
52+ - name : Run tests (soroban-precompile)
53+ run : cargo test --features soroban-precompile --verbose
5454
55- - name : Run tests (std + soroban-bn254- precompile)
56- run : cargo test --features "std soroban-bn254- precompile" --verbose
55+ - name : Run tests (std + soroban-precompile)
56+ run : cargo test --features "std soroban-precompile" --verbose
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ pub fn hash32(data: &[u8]) -> [u8; 32] {
5252#[ cfg( feature = "soroban-precompile" ) ]
5353/// Register a custom hash backend (Soroban precompile bridge).
5454pub fn set_backend ( ops : Box < dyn HashOps > ) {
55- let _ = BACKEND . set ( ops) ;
55+ let _ = BACKEND . set ( Box :: new ( ops) ) ;
5656}
5757
5858#[ cfg( feature = "soroban-precompile" ) ]
You can’t perform that action at this time.
0 commit comments