rename target to polkavm

Signed-off-by: xermicus <cyrill@parity.io>
This commit is contained in:
xermicus
2024-05-02 08:47:44 +02:00
parent 9fc24af355
commit 336fc63f1d
112 changed files with 876 additions and 873 deletions
@@ -9,12 +9,12 @@ use serde::Serialize;
pub struct Metadata {
/// The bytecode hash mode.
#[serde(skip_serializing_if = "Option::is_none")]
pub bytecode_hash: Option<revive_llvm_context::EraVMMetadataHash>,
pub bytecode_hash: Option<revive_llvm_context::PolkaVMMetadataHash>,
}
impl Metadata {
/// A shortcut constructor.
pub fn new(bytecode_hash: revive_llvm_context::EraVMMetadataHash) -> Self {
pub fn new(bytecode_hash: revive_llvm_context::PolkaVMMetadataHash) -> Self {
Self {
bytecode_hash: Some(bytecode_hash),
}