mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-06-17 12:21:11 +00:00
@@ -13,14 +13,14 @@ use serde::Serialize;
|
||||
pub struct Metadata {
|
||||
/// The bytecode hash mode.
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub bytecode_hash: Option<era_compiler_llvm_context::EraVMMetadataHash>,
|
||||
pub bytecode_hash: Option<revive_llvm_context::EraVMMetadataHash>,
|
||||
}
|
||||
|
||||
impl Metadata {
|
||||
///
|
||||
/// A shortcut constructor.
|
||||
///
|
||||
pub fn new(bytecode_hash: era_compiler_llvm_context::EraVMMetadataHash) -> Self {
|
||||
pub fn new(bytecode_hash: revive_llvm_context::EraVMMetadataHash) -> Self {
|
||||
Self {
|
||||
bytecode_hash: Some(bytecode_hash),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user