Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
404: feat: Update embedded script r=doitian a=xxuejie

The embedded secp256k1_blake2b_sighash_all script is compiled from https://github.com/nervosnetwork/ckb-system-scripts/blob/384da8adc0564a228f54ae4122adda12d966f9bc/c/secp256k1_blake2b_sighash_all.c

Co-authored-by: Xuejie Xiao <xxuejie@gmail.com>
  • Loading branch information
bors[bot] and xxuejie committed Apr 9, 2019
2 parents 0974742 + ba0f88f commit 0590131
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file not shown.
2 changes: 1 addition & 1 deletion spec/chainspecs/testnet/testnet.toml
Expand Up @@ -33,4 +33,4 @@ cycle_length = 12
# An array list paths to system cell files, which is absolute or relative to
# the directory containing this config file.
[[system_cells]]
path = "cells/secp256k1_blake2b_lock"
path = "cells/secp256k1_blake2b_sighash_all"
2 changes: 1 addition & 1 deletion spec/src/lib.rs
Expand Up @@ -260,7 +260,7 @@ pub mod test {
let data_hash = tx.outputs()[0].data_hash();
assert_eq!(
format!("{:x}", data_hash),
"fe1cf5a297023a3c5282ecd9b0ca88d6736424d75fbe4dcf47a7c8b303e4d339"
"8bddddc3ae2e09c13106634d012525aa32fc47736456dba11514d352845e561d"
);
}
}

0 comments on commit 0590131

Please sign in to comment.