Skip to content
This repository was archived by the owner on May 9, 2024. It is now read-only.

Conversation

@luu-alex
Copy link

@luu-alex luu-alex commented Jun 9, 2020

Changes

  • removing the resourceId check

Closes: #159

@ansermino ansermino requested a review from steviezhang June 12, 2020 14:22
await TruffleAssert.reverts(BridgeInstance.adminSetResource(
ERC20HandlerInstance.address, initialResourceIDs[0], ERC20MintableInstance1.address),
"resourceID already has a corresponding contract address");
it('resourceID should be updated correctly with new token contract address', async () => {
Copy link
Contributor

@steviezhang steviezhang Jun 12, 2020

Choose a reason for hiding this comment

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

For this test case i think "existing resourceID should be updated correctly with new token contract address" may be more clear. This holds for all the test cases.

@ansermino ansermino requested a review from steviezhang June 12, 2020 19:09
@luu-alex luu-alex merged commit 5a696a2 into master Jun 12, 2020
@luu-alex luu-alex deleted the alex/resourceIdMod branch June 12, 2020 19:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow resource ID modifications

4 participants