forked from jl777/SuperNET
-
Notifications
You must be signed in to change notification settings - Fork 94
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
[r2r] gui-auth & enable_v2 rpc implementation #1335
Merged
Merged
Changes from 1 commit
Commits
Show all changes
71 commits
Select commit
Hold shift + click to select a range
b0cefff
implement validation strcuture
onur-ozkan cbb30d6
add signed_message to payload if exists
onur-ozkan f5912ae
update doc-comment of `drop_mutability` macro
onur-ozkan e366fff
update `fn sign_message_hash`
onur-ozkan 85a6404
fill `gui_auth_message_prefix` fields for tests
onur-ozkan 9efd6bc
create and implement `trait GuiAuthMessages`
onur-ozkan a59f4bd
save development state
onur-ozkan 6a79d3c
save development state
onur-ozkan 84ec84f
save development state
onur-ozkan 903edf3
save development state
onur-ozkan 19ffa09
save development state
onur-ozkan f83f5b3
save development state
onur-ozkan 6f36e60
save development state
onur-ozkan 469e093
save development state
onur-ozkan e7bada5
save development state
onur-ozkan 944a354
save development state
onur-ozkan 3bdc56b
finalize `fn enable_v2` implementation
onur-ozkan 697e7d5
force UTC tz for gui-auth signed messages
onur-ozkan e02b13c
optimize `Web3Transport` initialization
onur-ozkan 5fee6a8
Merge branch 'dev' of github.com:KomodoPlatform/atomicDEX-API into gu…
onur-ozkan 2a5e084
save development state
onur-ozkan 423ca6e
inline `Web3Transport` initialization functions
onur-ozkan 0466601
Update Cargo.toml
onur-ozkan 4c6453f
update version handling of eth coins
onur-ozkan 74ce301
provide better error handling
onur-ozkan a75014a
simplify `generate_gui_auth_signed_validation`
onur-ozkan ad5a67d
save development state
onur-ozkan 1e013e1
save development state
onur-ozkan a8de7e6
save development state
onur-ozkan 38430a9
save p.o.c state
onur-ozkan 8eed30b
save development state
onur-ozkan 0f77653
exclude `activate_eth_coin`
onur-ozkan 4e99578
finalize `eth_and_erc20_activations` functionality
onur-ozkan 933e439
save development state
onur-ozkan e0d797e
save development state
onur-ozkan 38be805
fix `check --tests`
onur-ozkan c588ecd
finish `register_token_info` fn
onur-ozkan e314ba3
implement `erc20_token_activation` rpc
onur-ozkan 92c9a71
map errors for eth/erc20 activation
onur-ozkan b453c15
fix wasm build failure
onur-ozkan 78942e1
fix fmt
onur-ozkan e89a9ec
rename `EthActivationRequest` to `EthActivationV2Request`
onur-ozkan 5be5b83
optimize implementation
onur-ozkan 0b3a42b
drop mutability after updates
onur-ozkan fd860b5
save development state
onur-ozkan e19e072
make `fn enable_token` less bloat
onur-ozkan 254a72e
make `enable_tokens` less bloat
onur-ozkan 9004d58
finalize review fixes
onur-ozkan c903a29
update errors
onur-ozkan ece5bdd
update visibility & privacy modifiers in `eth.rs`
onur-ozkan d3ee874
make `get_token_balance_by_address` async fn
onur-ozkan ec33738
avoid using hard-coded ticker for gui-auth
onur-ozkan 619487a
fix review note
onur-ozkan 214df5c
optimize pr stage
onur-ozkan d9de507
optimize `send_request` of wasm
onur-ozkan 4e00a1f
fix wasm compilation
onur-ozkan 81c67c6
fix pr notes
onur-ozkan c038188
fix formatting
onur-ozkan 198a83a
Merge branch 'dev' into gui-auth-implementation
onur-ozkan be59129
update `get_public_address` to uncompress format for ethereum
onur-ozkan 300791e
no need to clone Erc20TokenInfo for `get_token_balance_by_address`
onur-ozkan 7bf4e57
update `InvalidSwapContractAddr` and `InvalidFallbackSwapContract` ma…
onur-ozkan af3ed50
refactor `AsyncMutex` to std one for `eth20_tokens_infos` of `EthCoin…
onur-ozkan 31605e5
fix pr notes
onur-ozkan 8c37c20
fix pr reviews
onur-ozkan 528bdb3
fix pr reviews
onur-ozkan bc60c20
create `Web3Transport::single_node` fn
onur-ozkan 5975d6a
update `start_history_background_fetching` return type
onur-ozkan a691c94
Revert "update `start_history_background_fetching` return type"
onur-ozkan a67c162
remove `tx_history` for eth v2 activation
onur-ozkan 9c011f2
fix
onur-ozkan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 guess this
#[serde(default)]
is not needed anymore.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.
Yeah I missed it, thanks!