Skip to content

Commit 1b27dfa

Browse files
committed
chore: bump contracts package version
Signed-off-by: Tomás Migone <[email protected]>
1 parent 075d270 commit 1b27dfa

File tree

12 files changed

+75
-40
lines changed

12 files changed

+75
-40
lines changed

.github/workflows/ci-token-dist.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,6 @@ jobs:
2323
- name: Set up environment
2424
uses: ./.github/actions/setup
2525
- name: Run tests
26-
run: yarn test
26+
run: |
27+
pushd packages/token-distribution
28+
yarn test

packages/contracts/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @graphprotocol/contracts
22

3+
## 7.0.0
4+
5+
### Major Changes
6+
7+
- 9686ce1: Add Horizon staking interface
8+
39
## 6.2.1
410

511
### Patch Changes
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Arbitrum contracts
2+
3+
These contracts have been copied from the [Arbitrum repo](https://github.com/OffchainLabs/arbitrum).
4+
5+
They are also available as part of the npm packages [arb-bridge-eth](https://www.npmjs.com/package/arb-bridge-eth) and [arb-bridge-peripherals](https://www.npmjs.com/package/arb-bridge-peripherals). The reason for copying them rather than installing those packages is the contracts only support Solidity `^0.6.11`, so we had to change the version to `^0.7.6` for it to be compatible with our other contracts.

packages/contracts/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@graphprotocol/contracts",
3-
"version": "6.2.1",
3+
"version": "7.0.0",
44
"description": "Contracts for the Graph Protocol",
55
"directories": {
66
"test": "test"
@@ -75,13 +75,13 @@
7575
"solidity-coverage": "^0.7.16",
7676
"ts-node": "^10.9.1",
7777
"typechain": "^5.0.0",
78-
"typescript": "^4.7.4",
78+
"typescript": "^5.2.2",
7979
"winston": "^3.3.3",
8080
"yaml": "^1.10.2",
8181
"yargs": "^17.0.0"
8282
},
8383
"scripts": {
84-
"prepack": "scripts/prepack",
84+
"prepack": "SKIP_LOAD=true scripts/build",
8585
"build": "SKIP_LOAD=true scripts/build",
8686
"clean": "rm -rf build/ cache/ dist/",
8787
"compile": "hardhat compile",

packages/contracts/scripts/build

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
#!/bin/bash
22

3+
TYPECHAIN_DIR=dist/types
4+
35
set -eo pipefail
46

5-
# Build
7+
# Build contracts
8+
yarn clean
69
yarn compile
10+
11+
# Refresh distribution folder
12+
rm -rf dist && mkdir -p ${TYPECHAIN_DIR}
13+
cp -R build/abis/ dist/abis
14+
cp -R build/types/ ${TYPECHAIN_DIR}
15+
16+
tsc --esModuleInterop

packages/contracts/scripts/prepack

Lines changed: 0 additions & 20 deletions
This file was deleted.

packages/contracts/scripts/test

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ source $(pwd)/scripts/evm
66
### Setup EVM
77

88
# Ensure we compiled sources
9-
109
yarn build
1110

1211
### Cleanup

packages/sdk/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @graphprotocol/sdk
22

3+
## 0.5.1
4+
5+
### Patch Changes
6+
7+
- Bump contracts dependency
8+
39
## 0.5.0
410

511
### Minor Changes

packages/sdk/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@graphprotocol/sdk",
3-
"version": "0.5.0",
3+
"version": "0.5.1",
44
"description": "TypeScript based SDK to interact with The Graph protocol contracts",
55
"main": "build/index.js",
66
"types": "src/index.ts",
@@ -21,7 +21,7 @@
2121
"@arbitrum/sdk": "~3.1.13",
2222
"@ethersproject/experimental": "^5.7.0",
2323
"@graphprotocol/common-ts": "^2.0.7",
24-
"@graphprotocol/contracts": "workspace:^6.2.0",
24+
"@graphprotocol/contracts": "workspace:^7.0.0",
2525
"@nomicfoundation/hardhat-network-helpers": "^1.0.9",
2626
"@nomiclabs/hardhat-ethers": "^2.2.3",
2727
"debug": "^4.3.4",
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# @graphprotocol/token-distribution
2+
3+
## 1.2.1
4+
5+
### Patch Changes
6+
7+
- Bump contracts dependency

0 commit comments

Comments
 (0)