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

Add NFT Marketplace Tests #1829

Merged
merged 62 commits into from
Sep 4, 2024
Merged
Changes from 1 commit
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
99b60ab
test
mj850 Aug 13, 2024
5b9d7b4
test
mj850 Aug 13, 2024
6439cbd
add more setup
mj850 Aug 13, 2024
aed4dec
add to path
mj850 Aug 13, 2024
18b9334
githubpath
mj850 Aug 13, 2024
020cda0
seid path
mj850 Aug 13, 2024
7f381c1
dapp tests
mj850 Aug 13, 2024
fd231da
try artifacts
mj850 Aug 13, 2024
36c5296
ditch setup step
mj850 Aug 13, 2024
6579e77
deps
mj850 Aug 13, 2024
b47af79
test workflow
mj850 Aug 14, 2024
d640e56
set keyring
mj850 Aug 14, 2024
d06ac8c
without
mj850 Aug 14, 2024
90d0f1b
keys add
mj850 Aug 14, 2024
42d9ac8
add to sh
mj850 Aug 15, 2024
4798878
nobackend
mj850 Aug 15, 2024
f17b914
no script
mj850 Aug 15, 2024
447df6e
test
mj850 Aug 15, 2024
2057cc8
keyring
mj850 Aug 15, 2024
16246e7
no sh
mj850 Aug 15, 2024
9a1b7b2
test
mj850 Aug 15, 2024
4f30529
fix flakiness
mj850 Aug 15, 2024
2619288
cleanup
mj850 Aug 15, 2024
903ebe1
move seid config command
mj850 Aug 15, 2024
fe89104
only if docker
mj850 Aug 15, 2024
aa80069
test without
mj850 Aug 15, 2024
29c36f6
if isdocker
mj850 Aug 15, 2024
96a1d9f
printf mnemonic
mj850 Aug 15, 2024
f4c89b7
try escape path
mj850 Aug 15, 2024
1614f30
try single quotes
mj850 Aug 15, 2024
aa8160c
try modifying execute
mj850 Aug 15, 2024
8f02f10
no path
mj850 Aug 15, 2024
7bdeda0
backend
mj850 Aug 15, 2024
3ab4fc7
try without keyring
mj850 Aug 15, 2024
fd65314
move keyring
mj850 Aug 15, 2024
2954d1f
path
mj850 Aug 15, 2024
6249603
basedir
mj850 Aug 15, 2024
80e6db9
try pwd
mj850 Aug 15, 2024
34f2fb2
config reset
mj850 Aug 15, 2024
8f988ef
seid config
mj850 Aug 15, 2024
6613f65
redeclare
mj850 Aug 15, 2024
298f6ad
print
mj850 Aug 15, 2024
a16ebb9
docker path
mj850 Aug 15, 2024
efcd4d5
dynamic path
mj850 Aug 15, 2024
2fa74b0
config for all
mj850 Aug 15, 2024
8fc95f6
full
mj850 Aug 15, 2024
1c17fe1
lint issue
mj850 Aug 15, 2024
501be8e
backend
mj850 Aug 15, 2024
43609a0
cleanup
mj850 Aug 16, 2024
98fb6e5
seaport starter
mj850 Aug 16, 2024
e440e31
merge confi
mj850 Aug 16, 2024
c957914
working locally
mj850 Aug 22, 2024
1f1a839
working on all chains
mj850 Aug 22, 2024
0323846
add readme
mj850 Aug 22, 2024
daa5e71
Merge branch 'main' into mj/seaportTest
mj850 Aug 22, 2024
0da43ff
keyring
mj850 Aug 22, 2024
ab4b96a
stray argument in unit test
mj850 Aug 22, 2024
feb3269
cleanup
mj850 Aug 22, 2024
8ddba85
reduce costs
mj850 Aug 22, 2024
1567e02
scripts
mj850 Aug 24, 2024
c07ccdb
Merge branch 'main' into mj/seaportTest
mj850 Aug 24, 2024
c912ea9
Merge branch 'main' into mj/seaportTest
mj850 Sep 4, 2024
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
Prev Previous commit
Next Next commit
working on all chains
  • Loading branch information
mj850 committed Aug 22, 2024
commit 1f1a839123f8bcfa5e7bfc9e8cb156bc443718a2
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
const { expect } = require("chai");
const hre = require("hardhat");

const {sendFunds, deployEthersContract, estimateAndCall, deployCw721WithPointer, setupAccountWithMnemonic, execute,
const {sendFunds, deployEthersContract, estimateAndCall, deployCw721WithPointer, setupAccountWithMnemonic,
mintCw721
} = require("../utils");
const { fundAddress, getSeiAddress } = require("../../../contracts/test/lib.js");
const { fundAddress, getSeiAddress, execute } = require("../../../contracts/test/lib.js");
const {evmRpcUrls, chainIds, rpcUrls} = require("../constants");

const testChain = process.env.DAPP_TEST_ENV;
Expand All @@ -30,7 +30,6 @@ describe("NFT Marketplace", function () {
}

const bal = await deployer.getBalance();
console.log("BAL", bal)
gasPrice = await deployer.getGasPrice();

// Deploy MockNFT
Expand Down Expand Up @@ -70,7 +69,6 @@ describe("NFT Marketplace", function () {
// Refers to the first token owned by the deployer.
tokenId = await nftContract.tokenOfOwnerByIndex(deployer.address, 0);
}
console.log("tokenId", tokenId)

if (seller.address !== deployer.address) {
if (expectTransferFail) {
Expand Down
Loading