Skip to content

Switch signature-request e2e tests to using ganache#7859

Merged
Gudahtt merged 1 commit intodevelopfrom
signature-request-ganache
Jan 17, 2020
Merged

Switch signature-request e2e tests to using ganache#7859
Gudahtt merged 1 commit intodevelopfrom
signature-request-ganache

Conversation

@Gudahtt
Copy link
Copy Markdown
Member

@Gudahtt Gudahtt commented Jan 17, 2020

The signature request e2e tests were previously using ropsten. This expectation was even hard-coded into the test contract dapp.

Instead the contract-dapp has been updated to use the current chainId when calling signTypedData (falling back to the networkId if chainId is not set). The fixture used by signature-request has been updated to use ganache.

The signature request e2e tests were previously using ropsten. This
expectation was even hard-coded into the test contract dapp.

Instead the contract-dapp has been updated to use the current `chainId`
when calling `signTypedData` (falling back to the `networkId` if
`chainId` is not set). The fixture used by `signature-request` has been
updated to use ganache.
@metamaskbot
Copy link
Copy Markdown
Collaborator

Builds ready [435ae85]

Copy link
Copy Markdown
Contributor

@whymarrh whymarrh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, this is a good idea

@Gudahtt Gudahtt merged commit 3a2c81d into develop Jan 17, 2020
@Gudahtt Gudahtt deleted the signature-request-ganache branch January 17, 2020 22:16
yqrashawn pushed a commit to yqrashawn/conflux-portal that referenced this pull request Jan 19, 2020
The signature request e2e tests were previously using ropsten. This
expectation was even hard-coded into the test contract dapp.

Instead the contract-dapp has been updated to use the current `chainId`
when calling `signTypedData` (falling back to the `networkId` if
`chainId` is not set). The fixture used by `signature-request` has been
updated to use ganache.
yqrashawn pushed a commit to Conflux-Chain/conflux-portal that referenced this pull request Jan 19, 2020
The signature request e2e tests were previously using ropsten. This
expectation was even hard-coded into the test contract dapp.

Instead the contract-dapp has been updated to use the current `chainId`
when calling `signTypedData` (falling back to the `networkId` if
`chainId` is not set). The fixture used by `signature-request` has been
updated to use ganache.
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.

4 participants