mirror of
https://github.com/pezkuwichain/revive-differential-tests.git
synced 2026-10-27 05:59:52 +00:00
Handle values from the metadata files
This commit is contained in:
5 files changed
+53
-8
No files matched your search
@@ -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)
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user