From 849f38727796b0a2e5c972ffbebbc64ca148bb92 Mon Sep 17 00:00:00 2001 From: Alberto Date: Sat, 27 Apr 2024 15:53:43 +0200 Subject: [PATCH] test: fixed deprecation warning --- contracts/mocks/ERC20Mock.vy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/mocks/ERC20Mock.vy b/contracts/mocks/ERC20Mock.vy index c3e50b7a..fc1156e5 100644 --- a/contracts/mocks/ERC20Mock.vy +++ b/contracts/mocks/ERC20Mock.vy @@ -66,6 +66,6 @@ def approve(_spender: address, _value: uint256) -> bool: def _mint_for_testing(_target: address, _value: uint256) -> bool: self.totalSupply += _value self.balanceOf[_target] += _value - log Transfer(ZERO_ADDRESS, _target, _value) + log Transfer(empty(address), _target, _value) return True