Skip to content

Commit

Permalink
different naming for different example methods for elf and imageID
Browse files Browse the repository at this point in the history
  • Loading branch information
Prabhat1308 committed Jan 23, 2025
1 parent 21ee60d commit 12c3b98
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/mock_geth_adapter/methods/build.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use risc0_build_ethereum::generate_solidity_files;

// Paths where the generated Solidity files will be written.
const SOLIDITY_IMAGE_ID_PATH: &str = "../../../contracts/src/ImageID.sol";
const SOLIDITY_ELF_PATH: &str = "../../../contracts/test/Elf.sol";
const SOLIDITY_IMAGE_ID_PATH: &str = "../../../contracts/src/GethImageID.sol";
const SOLIDITY_ELF_PATH: &str = "../../../contracts/test/GethElf.sol";

fn main() {
let guests = risc0_build::embed_methods();
Expand Down
4 changes: 2 additions & 2 deletions examples/zksync_adapter/methods/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ use risc0_build_ethereum::generate_solidity_files;

// Paths where the generated Solidity files will be written.
#[cfg(any(feature = "risc0"))]
const SOLIDITY_IMAGE_ID_PATH: &str = "../../../contracts/src/ImageID.sol";
const SOLIDITY_IMAGE_ID_PATH: &str = "../../../contracts/src/ZksyncImageID.sol";

#[cfg(any(feature = "risc0"))]
const SOLIDITY_ELF_PATH: &str = "../../../contracts/test/Elf.sol";
const SOLIDITY_ELF_PATH: &str = "../../../contracts/test/ZksyncElf.sol";

fn main() {
#[cfg(any(feature = "risc0"))]
Expand Down

0 comments on commit 12c3b98

Please sign in to comment.