Skip to content

Commit

Permalink
test: adding gnosis
Browse files Browse the repository at this point in the history
  • Loading branch information
aaitor committed Jan 10, 2025
1 parent eb1965e commit 7b3e60a
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 6 deletions.
8 changes: 4 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2410,7 +2410,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

> 2 May 2022
- add aave service agreement to ddo when creating nft721 asset [`#248`](https://github.com/nevermined-io/sdk-js/pull/248)
- add aave service agreement to ddo when creating nft721 asset [`#248`](https://github.com/nevermined-io/sdk-js/pull/248)
- Adding v0.19.21 Changelog updates [`c93cdc5`](https://github.com/nevermined-io/sdk-js/commit/c93cdc55f139a43db4130ccb0f80924d2645a931)

#### [v0.19.21](https://github.com/nevermined-io/sdk-js/compare/v0.19.20...v0.19.21)
Expand Down Expand Up @@ -2673,7 +2673,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

> 18 January 2022
- Removing not used parameter [`#186`](https://github.com/nevermined-io/sdk-js/pull/186)
- Removing not used parameter [`#186`](https://github.com/nevermined-io/sdk-js/pull/186)
- [wip] Create agreement+pay in one transaction [`#183`](https://github.com/nevermined-io/sdk-js/pull/183)
- Adapting to contracts `v1.3.3` [`#177`](https://github.com/nevermined-io/sdk-js/pull/177)
- Adding v0.17.2 Changelog updates [`5eddda4`](https://github.com/nevermined-io/sdk-js/commit/5eddda43954e013e6e6f7344c9a877d801aacb5c)
Expand Down Expand Up @@ -3179,7 +3179,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
- Feature/sync develop [`#268`](https://github.com/nevermined-io/sdk-js/pull/268)
- Quick fix for non-eip1559 networks [`#266`](https://github.com/nevermined-io/sdk-js/pull/266)
- integrate Permissions and refactor search query [`#264`](https://github.com/nevermined-io/sdk-js/pull/264)
- add aave service agreement to ddo when creating nft721 asset [`#248`](https://github.com/nevermined-io/sdk-js/pull/248)
- add aave service agreement to ddo when creating nft721 asset [`#248`](https://github.com/nevermined-io/sdk-js/pull/248)
- Get the keeper version from the artifacts instead of package version [`#244`](https://github.com/nevermined-io/sdk-js/pull/244)
- replace `metadata-api` url by `marketplace-api` and sort type [`#243`](https://github.com/nevermined-io/sdk-js/pull/243)
- fixing issues with BigNumbers [`#246`](https://github.com/nevermined-io/sdk-js/pull/246)
Expand Down Expand Up @@ -3218,7 +3218,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
- Feature/190 add did to sec markets [`#191`](https://github.com/nevermined-io/sdk-js/pull/191)
- Adding utility methods for getting nft token uri [`#189`](https://github.com/nevermined-io/sdk-js/pull/189)
- Lint ... [`#187`](https://github.com/nevermined-io/sdk-js/pull/187)
- Removing not used parameter [`#186`](https://github.com/nevermined-io/sdk-js/pull/186)
- Removing not used parameter [`#186`](https://github.com/nevermined-io/sdk-js/pull/186)
- [wip] Create agreement+pay in one transaction [`#183`](https://github.com/nevermined-io/sdk-js/pull/183)
- Adapting to contracts `v1.3.3` [`#177`](https://github.com/nevermined-io/sdk-js/pull/177)
- Correct typo in route [`#184`](https://github.com/nevermined-io/sdk-js/pull/184)
Expand Down
4 changes: 2 additions & 2 deletions integration/external/Olas.e2e.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ describe('OLAS e2e tests', () => {

let RECEIVER_NVM_FEE: string
const RECEIVER_OLAS_FEE = OLAS_MARKETPLACE_ADDRESS
const RECEIVER_PLAN_PRICE = process.env.RECEIVER_PLAN_PRICE || ZeroAddress
const RECEIVER_PLAN = process.env.RECEIVER_PLAN || ZeroAddress

// This is the number of credits that the subscriber will get when purchase the subscription
// In the DDO this will be added in the `_numberNFTs` value of the `nft-sales` service of the subscription
Expand Down Expand Up @@ -101,7 +101,7 @@ describe('OLAS e2e tests', () => {

RECEIVER_NVM_FEE = await nevermined.keeper.nvmConfig.getFeeReceiver()
AMOUNT_NVM_FEE = await nevermined.keeper.nvmConfig.getNetworkFee()
receivers = [RECEIVER_OLAS_FEE, RECEIVER_PLAN_PRICE]
receivers = [RECEIVER_OLAS_FEE, RECEIVER_PLAN]
amounts = [AMOUNT_OLAS_FEE, AMOUNT_PLAN_PRICE]

planPrice = new AssetPrice(
Expand Down
12 changes: 12 additions & 0 deletions test/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,18 @@ if (process.env.NETWORK_NAME === 'geth-localnet') {
artifactsFolder: './artifacts',
circuitsFolder: './circuits',
} as NeverminedOptions
} else if (process.env.NETWORK_NAME === 'gnosis') {
config = {
chainId: 100,
marketplaceUri: 'https://marketplace-api.gnosis.nevermined.app',
neverminedNodeUri: 'https://node.gnosis.nevermined.app',
neverminedNodeAddress: '0x824dbcE5E9C96C5b8ce2A35a25a5ab87eD1D00b1',
web3ProviderUri: `https://rpc.gnosischain.com/`,
graphHttpUri: undefined,
// verbose: LogLevel.Verbose,
artifactsFolder: './artifacts',
circuitsFolder: './circuits',
} as NeverminedOptions
} else {
// default unit tests
config = {
Expand Down

0 comments on commit 7b3e60a

Please sign in to comment.