Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(world-module-erc20): rename ERC20BaseTest.sol to ERC20BaseTest.t.sol #3347

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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": 58213
},
{
"file": "test/ERC20BaseTest.sol:ERC20WithInternalStoreTest",
"file": "test/ERC20BaseTest.t.sol:ERC20WithInternalStoreTest",
"test": "testBurn",
"name": "internal_burn",
"gasUsed": 56417
},
{
"file": "test/ERC20BaseTest.sol:ERC20WithInternalStoreTest",
"file": "test/ERC20BaseTest.t.sol:ERC20WithInternalStoreTest",
"test": "testMint",
"name": "internal_mint",
"gasUsed": 90703
},
{
"file": "test/ERC20BaseTest.sol:ERC20WithInternalStoreTest",
"file": "test/ERC20BaseTest.t.sol:ERC20WithInternalStoreTest",
"test": "testTransfer",
"name": "internal_transfer",
"gasUsed": 67747
},
{
"file": "test/ERC20BaseTest.sol:ERC20WithInternalStoreTest",
"file": "test/ERC20BaseTest.t.sol:ERC20WithInternalStoreTest",
"test": "testTransferFrom",
"name": "internal_transferFrom",
"gasUsed": 79574
},
{
"file": "test/ERC20BaseTest.sol:ERC20WithWorldTest",
"file": "test/ERC20BaseTest.t.sol:ERC20WithWorldTest",
"test": "testApprove",
"name": "world_approve",
"gasUsed": 66343
},
{
"file": "test/ERC20BaseTest.sol:ERC20WithWorldTest",
"file": "test/ERC20BaseTest.t.sol:ERC20WithWorldTest",
"test": "testBurn",
"name": "world_burn",
"gasUsed": 70873
},
{
"file": "test/ERC20BaseTest.sol:ERC20WithWorldTest",
"file": "test/ERC20BaseTest.t.sol:ERC20WithWorldTest",
"test": "testMint",
"name": "world_mint",
"gasUsed": 105159
},
{
"file": "test/ERC20BaseTest.sol:ERC20WithWorldTest",
"file": "test/ERC20BaseTest.t.sol:ERC20WithWorldTest",
"test": "testTransfer",
"name": "world_transfer",
"gasUsed": 82375
},
{
"file": "test/ERC20BaseTest.sol:ERC20WithWorldTest",
"file": "test/ERC20BaseTest.t.sol:ERC20WithWorldTest",
"test": "testTransferFrom",
"name": "world_transferFrom",
"gasUsed": 99431
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/MUDERC20.sol";
import { ERC20Burnable } from "../src/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/MUDERC20.sol";
import { Pausable, ERC20Pausable } from "../src/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
Loading