Skip to content
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

Closed
wants to merge 20 commits into from
Closed

Backend,Frontend,Tests: rm txDetail from SignedTx #271

wants to merge 20 commits into from

Conversation

webwarrior-ws
Copy link
Contributor

Supersedes #238

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.
Copy link
Contributor Author

@webwarrior-ws webwarrior-ws left a 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``() =
Copy link
Contributor Author

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 =
Copy link
Contributor Author

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
Copy link
Contributor Author

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)
```
@knocte knocte force-pushed the master branch 2 times, most recently from b841302 to ccb1641 Compare May 8, 2024 09:18
@webwarrior-ws webwarrior-ws closed this by deleting the head repository May 23, 2024
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants