Skip to content

Commit

Permalink
[REG-1273] - Code review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
DeRain committed May 28, 2024
1 parent 64e7eb5 commit b6771e1
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion contracts/marketplace/ISeaportProxyBuyer.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// @author Unstoppable Domains, Inc.
// @date April 25th, 2024

pragma solidity 0.8.24;
pragma solidity ^0.8.24;

import {AdvancedOrder, CriteriaResolver} from 'seaport-types/src/lib/ConsiderationStructs.sol';

Expand Down
2 changes: 1 addition & 1 deletion contracts/marketplace/SeaportProxyBuyer.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// @author Unstoppable Domains, Inc.
// @date April 25th, 2024

pragma solidity 0.8.24;
pragma solidity ^0.8.24;

import {Initializable} from '@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol';
import {ContextUpgradeable} from '@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol';
Expand Down
2 changes: 1 addition & 1 deletion contracts/marketplace/_refs.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// @author Unstoppable Domains, Inc.
// @date April 25th, 2024

pragma solidity 0.8.24;
pragma solidity ^0.8.24;

import {Seaport} from 'seaport-core/src/Seaport.sol';
import {ConduitController} from 'seaport-core/src/conduit/ConduitController.sol';
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"compile": "hardhat compile --force;",
"build:package": "yarn compile; rm -Rf dist/*; tsc --project tsconfig.build.json",
"build:ci": "yarn build:package && yarn rebuild:sandbox && yarn copy:assets",
"copy:assets": "mkdir -p dist/sandbox/foundry/bin; cp sandbox/foundry/bin/gitkeep dist/sandbox/foundry/bin/gitkeep; cp sandbox/state.json dist/sandbox/; cp sandbox/foundry/foundryup.sh dist/sandbox/foundry; cp uns-config.json dist/; cp ens-config.json dist/;",
"copy:assets": "mkdir -p dist/sandbox/foundry/bin; cp sandbox/foundry/bin/.gitkeep dist/sandbox/foundry/bin/.gitkeep; cp sandbox/state.json dist/sandbox/; cp sandbox/foundry/foundryup.sh dist/sandbox/foundry; cp uns-config.json dist/; cp ens-config.json dist/;",
"compile:size": "env ENABLE_CONTRACT_SIZER=true yarn compile",
"coverage": "hardhat coverage",
"test": "yarn test:sol && yarn test:sandbox",
Expand Down
2 changes: 1 addition & 1 deletion sandbox/anvil-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const ANVIL_ARGUMENTS_MAP: Record<Exclude<keyof AnvilServerOptions, 'anvilCliPat
silent: '--silent',
};

const BLOCKS_TO_KEEP = 100;
const BLOCKS_TO_KEEP = 500;

export class AnvilServer {
readonly options: Partial<AnvilServerOptions>;
Expand Down
2 changes: 1 addition & 1 deletion sandbox/foundry/bin/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
*
!.gitignore
!gitkeep
!.gitkeep
File renamed without changes.
5 changes: 1 addition & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@
"./test/**/*.ts",
],
"exclude": [
"./sandbox/foundry/bin/anvil",
"./sandbox/foundry/bin/cast",
"./sandbox/foundry/bin/chisel",
"./sandbox/foundry/bin/forge",
"./sandbox/foundry/bin/*",
],
}

0 comments on commit b6771e1

Please sign in to comment.