Skip to content

Commit

Permalink
test(world-module-erc20): rename ERC20BaseTest.sol to ERC20BaseTest.t…
Browse files Browse the repository at this point in the history
….sol (#3347)
  • Loading branch information
vdrg authored Nov 28, 2024
1 parent 26e0226 commit ad02d17
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
20 changes: 10 additions & 10 deletions packages/world-module-erc20/gas-report.json
Original file line number Diff line number Diff line change
@@ -1,60 +1,60 @@
[
{
"file": "test/ERC20BaseTest.sol:ERC20WithInternalStoreTest",
"file": "test/ERC20BaseTest.t.sol:ERC20WithInternalStoreTest",
"test": "testApprove",
"name": "internal_approve",
"gasUsed": 58166
},
{
"file": "test/ERC20BaseTest.sol:ERC20WithInternalStoreTest",
"file": "test/ERC20BaseTest.t.sol:ERC20WithInternalStoreTest",
"test": "testBurn",
"name": "internal_burn",
"gasUsed": 56310
},
{
"file": "test/ERC20BaseTest.sol:ERC20WithInternalStoreTest",
"file": "test/ERC20BaseTest.t.sol:ERC20WithInternalStoreTest",
"test": "testMint",
"name": "internal_mint",
"gasUsed": 90597
},
{
"file": "test/ERC20BaseTest.sol:ERC20WithInternalStoreTest",
"file": "test/ERC20BaseTest.t.sol:ERC20WithInternalStoreTest",
"test": "testTransfer",
"name": "internal_transfer",
"gasUsed": 67634
},
{
"file": "test/ERC20BaseTest.sol:ERC20WithInternalStoreTest",
"file": "test/ERC20BaseTest.t.sol:ERC20WithInternalStoreTest",
"test": "testTransferFrom",
"name": "internal_transferFrom",
"gasUsed": 79402
},
{
"file": "test/ERC20BaseTest.sol:ERC20WithWorldTest",
"file": "test/ERC20BaseTest.t.sol:ERC20WithWorldTest",
"test": "testApprove",
"name": "world_approve",
"gasUsed": 66268
},
{
"file": "test/ERC20BaseTest.sol:ERC20WithWorldTest",
"file": "test/ERC20BaseTest.t.sol:ERC20WithWorldTest",
"test": "testBurn",
"name": "world_burn",
"gasUsed": 70688
},
{
"file": "test/ERC20BaseTest.sol:ERC20WithWorldTest",
"file": "test/ERC20BaseTest.t.sol:ERC20WithWorldTest",
"test": "testMint",
"name": "world_mint",
"gasUsed": 104975
},
{
"file": "test/ERC20BaseTest.sol:ERC20WithWorldTest",
"file": "test/ERC20BaseTest.t.sol:ERC20WithWorldTest",
"test": "testTransfer",
"name": "world_transfer",
"gasUsed": 82206
},
{
"file": "test/ERC20BaseTest.sol:ERC20WithWorldTest",
"file": "test/ERC20BaseTest.t.sol:ERC20WithWorldTest",
"test": "testTransferFrom",
"name": "world_transferFrom",
"gasUsed": 99142
Expand Down
2 changes: 1 addition & 1 deletion packages/world-module-erc20/test/ERC20Burnable.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { IERC20Errors } from "../src/interfaces/IERC20Errors.sol";
import { IERC20Events } from "../src/interfaces/IERC20Events.sol";
import { MUDERC20 } from "../src/experimental/MUDERC20.sol";
import { ERC20Burnable } from "../src/experimental/ERC20Burnable.sol";
import { MockERC20Base, MockERC20WithInternalStore, MockERC20WithWorld, ERC20BehaviorTest, ERC20WithInternalStoreBehaviorTest, ERC20WithWorldBehaviorTest } from "./ERC20BaseTest.sol";
import { MockERC20Base, MockERC20WithInternalStore, MockERC20WithWorld, ERC20BehaviorTest, ERC20WithInternalStoreBehaviorTest, ERC20WithWorldBehaviorTest } from "./ERC20BaseTest.t.sol";

contract MockERC20WithInternalStoreBurnable is MockERC20WithInternalStore, ERC20Burnable {}

Expand Down
2 changes: 1 addition & 1 deletion packages/world-module-erc20/test/ERC20Pausable.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { IERC20Errors } from "../src/interfaces/IERC20Errors.sol";
import { IERC20Events } from "../src/interfaces/IERC20Events.sol";
import { MUDERC20 } from "../src/experimental/MUDERC20.sol";
import { Pausable, ERC20Pausable } from "../src/experimental/ERC20Pausable.sol";
import { MockERC20Base, MockERC20WithInternalStore, MockERC20WithWorld, ERC20BehaviorTest, ERC20WithInternalStoreBehaviorTest, ERC20WithWorldBehaviorTest } from "./ERC20BaseTest.sol";
import { MockERC20Base, MockERC20WithInternalStore, MockERC20WithWorld, ERC20BehaviorTest, ERC20WithInternalStoreBehaviorTest, ERC20WithWorldBehaviorTest } from "./ERC20BaseTest.t.sol";

// Mock to include mint and burn functions
abstract contract MockERC20Pausable is MUDERC20, ERC20Pausable {
Expand Down

0 comments on commit ad02d17

Please sign in to comment.