Skip to content

Conversation

@frangio
Copy link
Contributor

@frangio frangio commented Mar 26, 2018

It's only used for testing, introduced in #518.

@frangio frangio requested a review from come-maiz March 26, 2018 18:56
Copy link

@come-maiz come-maiz left a comment

Choose a reason for hiding this comment

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

I checked that this is not used on any contracts. +1
Thanks for catching this @frangio!

$ grep -r ethjs contracts
$ grep -r ethjs test/
test/helpers/sendTransaction.js:const ethjsABI = require('ethjs-abi');
test/helpers/sendTransaction.js:  const encodedData = ethjsABI.encodeMethod(abiMethod, argsValues);
test/token/ERC827/ERC827Token.js:var ethjsABI = require('ethjs-abi');
test/token/ERC827/ERC827Token.js:      const increaseApprovalData = ethjsABI.encodeMethod(abiMethod,
test/token/ERC827/ERC827Token.js:        const transferData = ethjsABI.encodeMethod(abiMethod,
test/token/ERC827/ERC827Token.js:        const approveData = ethjsABI.encodeMethod(abiMethod,
test/token/ERC827/ERC827Token.js:        const increaseApprovalData = ethjsABI.encodeMethod(abiMethod,
test/token/ERC827/ERC827Token.js:        const decreaseApprovalData = ethjsABI.encodeMethod(abiMethod,
test/token/ERC827/ERC827Token.js:        const transferFromData = ethjsABI.encodeMethod(abiMethod,
test/token/ERC827/ERC827Token.js:      const approveData = ethjsABI.encodeMethod(abiMethod,
test/token/ERC827/ERC827Token.js:      const transferData = ethjsABI.encodeMethod(abiMethod,
test/token/ERC827/ERC827Token.js:      const transferFromData = ethjsABI.encodeMethod(abiMethod,
test/token/ERC827/ERC827Token.js:      const approveData = ethjsABI.encodeMethod(abiMethod,
test/token/ERC827/ERC827Token.js:      const transferData = ethjsABI.encodeMethod(abiMethod,
test/token/ERC827/ERC827Token.js:      const transferFromData = ethjsABI.encodeMethod(abiMethod,

@frangio frangio merged commit 9bc43c8 into OpenZeppelin:master Mar 26, 2018
frangio added a commit to frangio/openzeppelin-contracts that referenced this pull request Apr 5, 2018
@frangio frangio deleted the remove-ethjs-abi-prod-dependency branch April 27, 2018 14:17
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