[xDai] Parametrize Native Coin#1444
[xDai] Parametrize Native Coin#1444dasanra merged 12 commits intofeature/#1353-xDai-compatibilityfrom
Conversation
…safe-react into feature/#1418-xDai-parametrize-native-coin
|
CLA Assistant Lite All Contributors have signed the CLA. |
ESLint Summary View Full Report
[warning] @typescript-eslint/explicit-module-boundary-types
Report generated by eslint-plus-action |
|
Travis automatic deployment: |
src/routes/safe/components/Transactions/TxsTable/ExpandedTx/RejectTxModal/index.tsx
Outdated
Show resolved
Hide resolved
src/routes/safe/components/Balances/SendModal/screens/ContractInteraction/Review/index.tsx
Outdated
Show resolved
Hide resolved
...utes/safe/components/Balances/SendModal/screens/ContractInteraction/ReviewCustomTx/index.tsx
Outdated
Show resolved
Hide resolved
src/routes/safe/components/Balances/SendModal/screens/ReviewCollectible/index.tsx
Outdated
Show resolved
Hide resolved
src/routes/safe/components/Balances/SendModal/screens/ReviewTx/index.tsx
Outdated
Show resolved
Hide resolved
src/routes/safe/components/Settings/ManageOwners/AddOwnerModal/screens/Review/index.tsx
Outdated
Show resolved
Hide resolved
src/routes/safe/components/Settings/ManageOwners/RemoveOwnerModal/screens/Review/index.tsx
Outdated
Show resolved
Hide resolved
src/routes/safe/components/Settings/ManageOwners/ReplaceOwnerModal/screens/Review/index.tsx
Outdated
Show resolved
Hide resolved
src/routes/safe/components/Settings/ThresholdSettings/ChangeThreshold/index.tsx
Outdated
Show resolved
Hide resolved
|
Travis automatic deployment: |
fernandomg
left a comment
There was a problem hiding this comment.
Just suggestions on the code-base related stuff.
I'll test it and complete my feedback.
...utes/safe/components/Balances/SendModal/screens/ContractInteraction/ReviewCustomTx/index.tsx
Outdated
Show resolved
Hide resolved
| <TokenSelectField | ||
| initialValue={selectedToken} | ||
| isValid={tokenAddress && String(tokenAddress).toUpperCase() !== 'ETHER'} | ||
| isValid={tokenAddress && String(tokenAddress).toUpperCase() !== nativeCoin.name.toUpperCase()} |
There was a problem hiding this comment.
I know it's not related to this... but OMG, that tokenAddress compared to 'ETHER' just blew my mind.
…ai-parametrize-native-coin
|
Travis automatic deployment: |
|
Travis automatic deployment: |
src/routes/safe/components/Balances/SendModal/screens/ContractInteraction/Review/index.tsx
Outdated
Show resolved
Hide resolved
|
Travis automatic deployment: |
...utes/safe/components/Balances/SendModal/screens/ContractInteraction/ReviewCustomTx/index.tsx
Outdated
Show resolved
Hide resolved
src/routes/safe/components/Settings/ManageOwners/AddOwnerModal/screens/Review/index.tsx
Outdated
Show resolved
Hide resolved
src/routes/safe/components/Settings/ManageOwners/RemoveOwnerModal/screens/Review/index.tsx
Outdated
Show resolved
Hide resolved
src/routes/safe/components/Settings/ManageOwners/ReplaceOwnerModal/screens/Review/index.tsx
Outdated
Show resolved
Hide resolved
src/routes/safe/components/Settings/ThresholdSettings/ChangeThreshold/index.tsx
Outdated
Show resolved
Hide resolved
src/routes/safe/components/Transactions/TxsTable/ExpandedTx/ApproveTxModal/index.tsx
Outdated
Show resolved
Hide resolved
src/routes/safe/components/Transactions/TxsTable/ExpandedTx/RejectTxModal/index.tsx
Outdated
Show resolved
Hide resolved
nicosampler
left a comment
There was a problem hiding this comment.
Please remove const { nativeCoin } = getNetworkInfo() inside de componentes for all the ocurrences.
|
Travis automatic deployment: |
|
Travis automatic deployment: |
|
Not sure if this comment should be here but: the ? should be removed, network is not optional, that will let us use this code: Without the risks of network being undefined |
|
|
||
| const batchIncomingTxsTokenDataRequest = (txs: IncomingTxServiceModel[]) => { | ||
| const batch = new web3ReadOnly.BatchRequest() | ||
| const { nativeCoin } = getNetworkInfo() |
There was a problem hiding this comment.
Please check my comment about getNetworkInfo
There was a problem hiding this comment.
I think it's a good point. But this should be added in another PR
|
Travis automatic deployment: |
Simplify tests logic
|
Travis automatic deployment: |
1 similar comment
|
Travis automatic deployment: |



closes #1418