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

chore: remove code coverage workflow #628

Open
wants to merge 5 commits into
base: development
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
30 changes: 0 additions & 30 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,36 +72,6 @@ jobs:
name: coverage-${{ runner.os }}
path: coverage/

coverage:
runs-on: ubuntu-latest
needs: [test]
if: ${{ success() && github.actor != 'dependabot[bot]' }}

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
- name: Cache node_modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-coverage-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-coverage-${{ env.cache-name }}-

- uses: actions/download-artifact@v3
with:
name: coverage-${{ runner.os }}

- run: npm ci
- run: npm run codegen:apollo

- uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}

storybook:
runs-on: ${{ matrix.os }}

Expand Down
2 changes: 1 addition & 1 deletion app.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ module.exports = {
errorMargin: 10,
// Map chainIds to their respective status endpoints
statusEndpoints: {
100: 'https://status.genx.delta-dao.com/api/check-blocks'
32456: 'https://status.dev.pontus-x.eu/'
}
},

Expand Down
31 changes: 0 additions & 31 deletions chains.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,6 @@
// see: https://github.com/oceanprotocol/ocean.js/blob/e07a7cb6ecea12b39ed96f994b4abe37806799a1/src/utils/ConfigHelper.ts#L8

const chains = [
{
chainId: 100,
isDefault: false,
isCustom: true,
network: 'genx',
metadataCacheUri: 'https://aquarius510.v4.delta-dao.com',
nodeUri: 'https://rpc.genx.minimal-gaia-x.eu',
providerUri: 'https://provider.v4.genx.delta-dao.com',
subgraphUri: 'https://subgraph.v4.genx.minimal-gaia-x.eu',
explorerUri: 'https://explorer.genx.pontus-x.eu',
oceanTokenAddress: '0x0995527d3473b3a98c471f1ed8787acd77fbf009',
oceanTokenSymbol: 'OCEAN',
fixedRateExchangeAddress: '0xAD8E7d2aFf5F5ae7c2645a52110851914eE6664b',
dispenserAddress: '0x94cb8FC8719Ed09bE3D9c696d2037EA95ef68d3e',
startBlock: 3665369,
transactionBlockTimeout: 50,
transactionConfirmationBlocks: 1,
transactionPollingTimeout: 750,
gasFeeMultiplier: 1.1,
nftFactoryAddress: '0x6cb85858183B82154921f68b434299EC4281da53',
opfCommunityFeeCollector: '0x2e0C9e15A45c9884F7768BB852E7399B9153525d',
veAllocate: '0x3fa1d5AC45ab1Ff9CFAe227c5583Ec0484b54Ef9',
veOCEAN: '0x061955B6980A34fce74b235f90DBe20d76f087b1',
veDelegation: '0x96E3aE4247a01C3d40a261df1F8ead70E32E7C0c',
veFeeDistributor: '0x35F1e6765750E874EB9d0675393A1A394A4749b4',
veDelegationProxy: '0x51B1b14b8bfb43a2fB0b49843787Ca440200F6b7',
DFRewards: '0x4259c164eedA7483dda2b4b622D761A88674D31f',
DFStrategyV1: '0x1be9C72500B41c286C797D4FE727747Ae9C4E195',
veFeeEstimate: '0xCFeF55c6ae4d250586e293f29832967a04A9087d',
providerAddress: '0x68C24FA5b2319C81b34f248d1f928601D2E5246B'
},
{
chainId: 32456,
isDefault: false,
Expand Down
7 changes: 0 additions & 7 deletions content/onboarding/steps/claimTokens.json

This file was deleted.

76 changes: 54 additions & 22 deletions content/pages/editMetadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{
"name": "name",
"label": "New Title",
"placeholder": "e.g. Shapes of Desert Plants",
"placeholder": "e.g. Production data of a manufacturing process",
"help": "Enter a concise title.",
"required": true
},
Expand Down Expand Up @@ -35,37 +35,28 @@
"type": "tabs",
"fields": [
{
"value": "ipfs",
"title": "IPFS",
"label": "CID",
"placeholder": "e.g. bafkreidgvpkjawlxz6sffxzwgooowe5yt7i6wsyg236mfoks77nywkptdq",
"help": "This CID will be stored encrypted after publishing.",
"computeHelp": "For a compute dataset, your file should match the file type required by the algorithm, and should not exceed 1 GB in file size. ",
"prominentHelp": true,
"type": "files",
"required": true
},
{
"value": "arweave",
"title": "Arweave",
"label": "Transaction ID",
"placeholder": "e.g. DBRCL94j3QqdPaUtt4VWRen8rZfJZBb7Ey40iMpXfhtd",
"help": "This Transaction ID will be stored encrypted after publishing.",
"value": "url",
"title": "URL",
"label": "File",
"placeholder": "e.g. https://file.com/file.json",
"help": "This URL will be stored encrypted after publishing. **Please make sure that the endpoint is accessible over the internet and is not protected by a firewall or by credentials.**",
"computeHelp": "For a compute dataset, your file should match the file type required by the algorithm, and should not exceed 1 GB in file size. ",
"prominentHelp": true,
"type": "files",
"required": true
"required": true,
"methods": false
},
{
"value": "url",
"title": "URL",
"title": "API",
"label": "File",
"placeholder": "e.g. https://file.com/file.json",
"help": "This URL will be stored encrypted after publishing. **Please make sure that the endpoint is accessible over the internet and is not protected by a firewall or by credentials.**",
"computeHelp": "For a compute dataset, your file should match the file type required by the algorithm, and should not exceed 1 GB in file size. ",
"prominentHelp": true,
"type": "files",
"required": true,
"methods": true,
"innerFields": [
{
"value": "headers",
Expand All @@ -74,6 +65,30 @@
"placeholder_value": "Authorization",
"help": "This HEADERS will be stored encrypted after publishing.",
"type": "headers",
"required": false
}
]
},
{
"value": "saas",
"title": "SaaS",
"label": "Redirect URL",
"placeholder": "e.g. https://delta-dao/the-future-is-now",
"help": "The url the user will be redirected to after buying access to the SaaS.",
"prominentHelp": true,
"type": "saas",
"fieldFormPrefix": "saas",
"required": true,
"methods": false,
"innerFields": [
{
"value": "paymentMode",
"title": "PaymentMode",
"label": "PaymentMode",
"help": "Choose how the payment mode for your Saas.",
"type": "select",
"selected": "",
"options": ["Subscription", "Pay per use"],
"required": true
}
]
Expand All @@ -88,7 +103,6 @@
"prominentHelp": true,
"type": "files",
"required": true,
"headers": true,
"innerFields": [
{
"value": "headers",
Expand All @@ -97,7 +111,7 @@
"placeholder_value": "Authorization",
"help": "This HEADERS will be stored encrypted after publishing.",
"type": "headers",
"required": true
"required": false
},
{
"value": "query",
Expand All @@ -109,6 +123,17 @@
"required": true
}
]
},
{
"value": "ipfs",
"title": "IPFS",
"label": "CID",
"placeholder": "e.g. bafkreidgvpkjawlxz6sffxzwgooowe5yt7i6wsyg236mfoks77nywkptdq",
"help": "This CID will be stored encrypted after publishing.",
"computeHelp": "For a compute dataset, your file should match the file type required by the algorithm, and should not exceed 1 GB in file size. ",
"prominentHelp": true,
"type": "files",
"required": true
}
],
"sortOptions": false,
Expand Down Expand Up @@ -140,7 +165,14 @@
"label": "Timeout",
"help": "Define how long buyers should be able to download the dataset again after the initial purchase.",
"type": "select",
"options": ["Forever", "1 day", "1 week", "1 month", "1 year"],
"options": [
"Forever",
"1 hour",
"1 day",
"1 week",
"1 month",
"1 year"
],
"sortOptions": false,
"required": true
},
Expand Down
16 changes: 12 additions & 4 deletions content/pages/faucet.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
{
"title": "Pontus-X Faucet",
"description": "Request tokens for the Pontus-X Networks",
"input": {
"label": "Your Pontus-X address",
"placeholder": "0x28080F654eED6CC00e8b16F4841E92CD0c2C0778",
"buttonLabel": "Get tokens"
"buttonLabel": "Get Tokens",
"card": {
"cardTitle": "Welcome to the Pontus-X Faucet",
"cardDescription": "A faucet is a service that provides free tokens for testing purposes. Known accounts can request 10 EUROe fee tokens and 1000 EUROe payment tokens to use on the Pontus-X network. These tokens are available every 12 hours.",
"cardExplainerTitle": "How to Request Tokens",
"cardExplainerFirstStep": "Ensure you have a web3 wallet (e.g. MetaMask) connected.",
"cardExplainerSecondStep": "Your wallet address will be automatically detected and displayed below.",
"cardExplainerThirdStep": "Click the button to request your free tokens.",
"cardExplainerFourthStep": "Wait for a few seconds while the request is processed.",
"cardExplainerFithStep": "You will receive a confirmation once the tokens are successfully sent to your address.",
"cardNetworkAddress": "Your Pontus-X address",
"cardNetwork": "Connected Network"
}
}
7 changes: 4 additions & 3 deletions content/price.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"create": {
"fixed": {
"title": "Fixed",
"title": "Priced",
"info": "Set your price for accessing this dataset. The datatoken for this dataset will be worth the entered amount of the selected base token.",
"tooltips": {
"communityFee": "Goes to Ocean DAO for teams to improve the tools, build apps, do outreach, and more. A small fraction is used to burn OCEAN. This fee is collected when downloading or using an asset in a compute job.",
"marketplaceFee": "Goes to the marketplace owner that is hosting and providing the marketplace and is collected when downloading or using an asset in a compute job. In Ocean Market, it is treated as network revenue that goes to the Ocean community."
"communityFee": "Goes to the Pontus-X Ecosystem participants to improve the tools, build apps, do outreach, and more. This fee is collected when downloading or using an asset in a compute job.",
"marketplaceFee": "Goes to the marketplace owner that is hosting and providing the marketplace and is collected when downloading or using an asset in a compute job.",
"earningsAfterFees": "The amount of tokens you will receive after the fees are collected."
}
},
"free": {
Expand Down
Loading
Loading