Skip to content

Commit

Permalink
1. Change candidate_block_root to trusted_block_root
Browse files Browse the repository at this point in the history
  • Loading branch information
ec2 committed Aug 23, 2023
1 parent 56a9fc8 commit 0c20f14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ async function main() {
let [trusted_epoch, trusted_block_root] = fs.readFileSync('./demo_data/trusted_cp.txt', 'utf8').split(":");
let [candidate_epoch, candidate_block_root] = fs.readFileSync('./demo_data/candidate_cp.txt', 'utf8').split(":");
let [_, fraud_candidate_block_root] = fs.readFileSync('./demo_data/fraud_candidate_cp.txt', 'utf8').split(":");
console.log(`0. Current trusted epoch ${trusted_epoch} with root: ${candidate_block_root}`);
console.log(`0. Current trusted epoch ${trusted_epoch} with root: ${trusted_block_root}`);

let zipline_input = fs.readFileSync('./demo_data/input.ssz.bin');
// sha256 hash the zipline input
Expand Down

0 comments on commit 0c20f14

Please sign in to comment.