Remove Minted and TokensBurned events (#1305)
* Remove the Minted event * Remove the TokensBurned event * Remove unused
This commit is contained in:
committed by
Francisco Giordano
parent
6c4c8989b3
commit
fa49e5189d
@ -28,12 +28,6 @@ function shouldBehaveLikeERC20Burnable (owner, initialBalance, [burner]) {
|
||||
(await this.token.balanceOf(owner)).should.be.bignumber.equal(initialBalance - amount);
|
||||
});
|
||||
|
||||
it('emits a burn event', async function () {
|
||||
const event = expectEvent.inLogs(this.logs, 'TokensBurned');
|
||||
event.args.burner.should.equal(owner);
|
||||
event.args.value.should.be.bignumber.equal(amount);
|
||||
});
|
||||
|
||||
it('emits a transfer event', async function () {
|
||||
const event = expectEvent.inLogs(this.logs, 'Transfer');
|
||||
event.args.from.should.equal(owner);
|
||||
@ -79,12 +73,6 @@ function shouldBehaveLikeERC20Burnable (owner, initialBalance, [burner]) {
|
||||
(await this.token.allowance(owner, burner)).should.be.bignumber.equal(originalAllowance - amount);
|
||||
});
|
||||
|
||||
it('emits a burn event', async function () {
|
||||
const event = expectEvent.inLogs(this.logs, 'TokensBurned');
|
||||
event.args.burner.should.equal(owner);
|
||||
event.args.value.should.be.bignumber.equal(amount);
|
||||
});
|
||||
|
||||
it('emits a transfer event', async function () {
|
||||
const event = expectEvent.inLogs(this.logs, 'Transfer');
|
||||
event.args.from.should.equal(owner);
|
||||
|
||||
Reference in New Issue
Block a user