Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Migration Resiliency: Try to fix migration non-timeout timeouts #568

Merged
merged 3 commits into from
Apr 8, 2020
Merged
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
31 changes: 15 additions & 16 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -31,26 +31,25 @@ https://discord.gg/4R6RGFf[Discord].

== Installation

tBTC contracts are currently published in the GitHub Package Registry.
tBTC contracts are currently published in the NPM Registry as the package
[`@keep-network/tbtc`](https://www.npmjs.com/package/@keep-network/tbtc).
Packages have versions corresponding to their network:

1. Add a file `.npmrc` to the same directory as your project's
`package.json`.
2. Paste the following to configure the GitHub Package Registry for
tBTC:
+
....
@keep-network:registry=https://npm.pkg.github.com/keep-network
....
3. Install the package:
+
[source,sh]
----
- `-pre` packages contain prerelease packages for the internal Keep testnet.
- `-rc` packages contain prerelease packages for the Ropsten Ethereum testnet.

Note that only the latest package in a series is expected to reference
contracts that have a backing set of signers.

To install the package:

```sh
$ npm install @keep-network/tbtc
----
```

== Usage

*NOTE:* tBTC contracts require _solc_ v0.5.10 or higher. You may have to
*NOTE:* tBTC contracts require _solc_ v0.5.17 or higher. You may have to
https://www.trufflesuite.com/docs/truffle/reference/configuration#compiler-configuration[configure
solc in your `truffle-config.js`].

Expand All @@ -59,7 +58,7 @@ them:

[source,sol]
----
pragma solidity ^0.5.0;
pragma solidity ^0.5.17;

import "@keep-network/tbtc/contracts/deposit/Deposit.sol";

Expand Down
4 changes: 4 additions & 0 deletions solidity/scripts/circleci-migrate-contracts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ ssh utilitybox << EOF
tenderly push --networks $ETH_NETWORK_ID --tag tbtc \
--tag $GOOGLE_PROJECT_NAME --tag $BUILD_TAG || echo "tendery push failed :("
echo "<<<<<<FINISH Tenderly Push FINISH<<<<<<"

# Explicitly exit, in case something a backgrounded job is trying to keep this
# process running.
exit 0
EOF

echo "<<<<<<START Contract Copy START<<<<<<"
Expand Down