Skip to content

Commit

Permalink
fix: Update fixture-generator
Browse files Browse the repository at this point in the history
  • Loading branch information
wwared committed Sep 9, 2024
1 parent 454b306 commit 23380fe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions fixture-generator/src/bin/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ fn generate_fixture_inclusion_aptos_lc() {
// save fixture
let fixture = SolidityFixture {
vkey: vk.bytes32().to_string(),
public_values: proof.public_values.bytes().to_string(),
public_values: proof.public_values.raw().to_string(),
proof: bytes(&proof),
};
std::fs::create_dir_all(&fixture_path).expect("failed to create fixture path");
Expand Down Expand Up @@ -156,7 +156,7 @@ fn generate_fixture_inclusion_ethereum_lc() {
MoveArg {
// public values
type_: String::from("hex"),
value: proof.public_values.bytes().to_string(),
value: proof.public_values.raw().to_string(),
},
MoveArg {
// proof
Expand Down Expand Up @@ -198,7 +198,7 @@ fn generate_fixture_epoch_change_aptos_lc() {
// save fixture
let fixture = SolidityFixture {
vkey: vk.bytes32().to_string(),
public_values: proof.public_values.bytes().to_string(),
public_values: proof.public_values.raw().to_string(),
proof: bytes(&proof),
};
std::fs::create_dir_all(&fixture_path).expect("failed to create fixture path");
Expand Down Expand Up @@ -251,7 +251,7 @@ fn generate_fixture_epoch_change_ethereum_lc() {
MoveArg {
// public values
type_: String::from("hex"),
value: proof.public_values.bytes().to_string(),
value: proof.public_values.raw().to_string(),
},
MoveArg {
// proof
Expand Down

0 comments on commit 23380fe

Please sign in to comment.