-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #40 from orbs-network/matic-integration
Matic integration
- Loading branch information
Showing
15 changed files
with
25,484 additions
and
1,825 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,52 @@ | ||
version: 2.1 | ||
orbs: | ||
node: circleci/node@3.0.1 | ||
node: circleci/node@4.9.0 | ||
docker: circleci/[email protected] | ||
jobs: | ||
build-and-test: | ||
machine: true | ||
machine: | ||
image: ubuntu-2004:202010-01 # recommended linux image | ||
steps: | ||
- checkout | ||
- node/install: | ||
node-version: '12.18.0' | ||
node-version: '16.13.1' | ||
- docker/install-docker | ||
- run: node --version | ||
- run: npm --version | ||
- run: docker --version | ||
- run: python --version | ||
- run: env | ||
- node/install-packages | ||
- run: npm install --no-save tap-xunit | ||
- run: mkdir -p _out/unit _out/e2e | ||
- run: npm test -- --timeout=1m --tap| npx tap-xunit > _out/unit/test.xml | ||
- run: npm run build | ||
- run: npm run test:e2e -- --timeout=1m --tap| npx tap-xunit > _out/e2e/test.xml | ||
- run: npm run test:e2e -- --timeout=1m --tap| npx tap-xunit > _out/e2e/test.xml | ||
- store_test_results: | ||
path: _out | ||
- store_artifacts: | ||
path: _out | ||
path: _out | ||
|
||
build-and-release: | ||
machine: true | ||
machine: | ||
image: ubuntu-2004:202010-01 # recommended linux image | ||
steps: | ||
- checkout | ||
- node/install: | ||
node-version: '12.18.0' | ||
node-version: '16.13.1' | ||
- docker/install-docker | ||
- run: ./boyar/create-version-file.sh | ||
- node/install-packages | ||
- run: ./boyar/docker-build.sh | ||
- run: ./.circleci/release.sh | ||
|
||
build-and-release-to-staging: | ||
machine: true | ||
machine: | ||
image: ubuntu-2004:202010-01 # recommended linux image | ||
steps: | ||
- checkout | ||
- node/install: | ||
node-version: '12.18.0' | ||
node-version: '16.13.1' | ||
- docker/install-docker | ||
- run: ./boyar/create-version-file.sh | ||
- node/install-packages | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
declare module 'orbs-signer-client' { | ||
import { TransactionConfig, SignedTransaction } from 'web3-core'; | ||
import { SignedTransaction } from 'web3-core'; | ||
import {TxData} from "@ethereumjs/tx"; | ||
|
||
export default class Signer { | ||
public constructor(host: string); | ||
sign(transaction: TransactionConfig): Promise<SignedTransaction>; | ||
sign(transaction: TxData, chainId?: Number, expectedSenderAddress?: String): Promise<SignedTransaction>; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,4 @@ COPY chain-43/*.js ./ | |
RUN npm install | ||
|
||
CMD [ "node", "index.js" ] | ||
EXPOSE 8080 | ||
EXPOSE 8080 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,4 @@ COPY management-service/*.js ./ | |
RUN npm install | ||
|
||
CMD [ "node", "index.js" ] | ||
EXPOSE 8080 | ||
EXPOSE 8080 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.