Handle values from the metadata files

This commit is contained in:
Omar Abdulla
2025-07-22 09:24:09 +03:00
parent 5c957e5ac1
commit e7ebe4fa2f
5 changed files with 53 additions and 8 deletions
+6
View File
@@ -251,6 +251,12 @@ where
let tx = {
let tx = TransactionRequest::default().from(input.caller);
let tx = match input.value {
Some(ref value) if deploy_with_constructor_arguments => {
tx.value(value.into_inner())
}
_ => tx,
};
TransactionBuilder::<Ethereum>::with_deploy_code(tx, code)
};