remove the test encoding option (#65)

This commit is contained in:
Cyrill Leutwiler
2024-10-04 09:59:27 +02:00
committed by GitHub
parent e8fcd6118e
commit 77fe683f18
5 changed files with 2 additions and 15 deletions
-4
View File
@@ -18,8 +18,6 @@ pub struct Input {
pub is_system_mode: bool,
/// Whether to append the metadata hash.
pub include_metadata_hash: bool,
/// Enables the test bytecode encoding.
pub enable_test_encoding: bool,
/// The optimizer settings.
pub optimizer_settings: revive_llvm_context::OptimizerSettings,
/// The debug output config.
@@ -33,7 +31,6 @@ impl Input {
project: Project,
is_system_mode: bool,
include_metadata_hash: bool,
enable_test_encoding: bool,
optimizer_settings: revive_llvm_context::OptimizerSettings,
debug_config: Option<revive_llvm_context::DebugConfig>,
) -> Self {
@@ -42,7 +39,6 @@ impl Input {
project,
is_system_mode,
include_metadata_hash,
enable_test_encoding,
optimizer_settings,
debug_config,
}
-3
View File
@@ -40,9 +40,6 @@ pub fn run(input_file: Option<&mut std::fs::File>) -> anyhow::Result<()> {
}
let input: Input = revive_common::deserialize_from_slice(buffer.as_slice())?;
if input.enable_test_encoding {
todo!()
}
let result = input.contract.compile(
input.project,
input.optimizer_settings,