Esempio n. 1
0
 def modifyTransaction(
     self, transaction_hash: _Hash32, **transaction_params: Any
 ) -> HexBytes:
     assert_valid_transaction_params(cast(TxParams, transaction_params))
     current_transaction = get_required_transaction(self.web3, transaction_hash)
     current_transaction_params = extract_valid_transaction_params(current_transaction)
     new_transaction = merge(current_transaction_params, transaction_params)
     return replace_transaction(self.web3, current_transaction, new_transaction)
Esempio n. 2
0
 def modifyTransaction(self, transaction_hash, **transaction_params):
     assert_valid_transaction_params(transaction_params)
     current_transaction = get_required_transaction(self.web3,
                                                    transaction_hash)
     current_transaction_params = extract_valid_transaction_params(
         current_transaction)
     new_transaction = merge(current_transaction_params, transaction_params)
     return replace_transaction(self.web3, current_transaction,
                                new_transaction)
Esempio n. 3
0
 def replaceTransaction(self, transaction_hash, new_transaction):
     current_transaction = get_required_transaction(self.web3,
                                                    transaction_hash)
     return replace_transaction(self.web3, current_transaction,
                                new_transaction)
Esempio n. 4
0
 def replaceTransaction(self, transaction_hash: _Hash32, new_transaction: TxParams) -> HexBytes:
     current_transaction = get_required_transaction(self.web3, transaction_hash)
     return replace_transaction(self.web3, current_transaction, new_transaction)
Esempio n. 5
0
 def modifyTransaction(self, transaction_hash, **transaction_params):
     assert_valid_transaction_params(transaction_params)
     current_transaction = get_required_transaction(self.web3, transaction_hash)
     current_transaction_params = extract_valid_transaction_params(current_transaction)
     new_transaction = merge(current_transaction_params, transaction_params)
     return replace_transaction(self.web3, current_transaction, new_transaction)
Esempio n. 6
0
 def replaceTransaction(self, transaction_hash, new_transaction):
     current_transaction = get_required_transaction(self.web3, transaction_hash)
     return replace_transaction(self.web3, current_transaction, new_transaction)