-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Backend,Frontend,Tests: rm txDetail from SignedTx #271
Conversation
ETC was previously marked as non-centeralized[1], this commit removes this flag since it's no longer needed. [1] 9392215
This commit updates Nethereum to latest version to support extracting token transfer amount from the raw tx created when sending (hot-storage) or signing (cold-storage). It's noteworthy to say that Web3 no longer accepts a timeout as an argument. Nethereum now supports different types of transactions like those that support EIP-1559, at this moment there's no clear benefit for migrating especially given the fact that it will causes incompatiblity with ETC so we will continue to use Legacy types for now.
This commit removes the redundant proposal and metadata from the SignedTransaction type.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've left some comments, otherwise LGTM
@@ -76,16 +76,16 @@ type Serialization() = | |||
|
|||
[<Test>] | |||
member __.``signed SAI transaction export``() = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SAI -> DAI
DestinationAddress = destinationAddress | ||
} | ||
txDetails :> ITransactionDetails | ||
let GetSignedTransactionProposal (signedTx: SignedTransaction): UnsignedTransactionProposal = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing new line before function definition
{ | ||
TransactionMetadata.Fee = | ||
MinerFee(minerFee.Satoshi, DateTime.Now, signedTx.FeeCurrency) | ||
// We don't need inputs since the metadata object gets casted to IBlockchainFeeInfo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In that case, why create TransactionMetadata instance at all?
Use new ElectrumSharp exceptions; set logger.
Add some library references to XF.Android project. Also remove unused references.
To avoid version conflicts on windows--legacyFramework-only CI lane.
To avoid version conflicts on windows--legacyFramework-only CI lane.
Trying to fix the following error: ``` System.Exception: Some problem when connecting to electrum.blockstream.info ---> System.IO.FileLoadException: Could not load file or assembly 'Microsoft.VisualStudio.Threading, Version=17.6.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) ```
b841302
to
ccb1641
Compare
Superseded by #298 |
Supersedes #238
Superseded by #298