Skip to content

Commit 9b19b60

Browse files
authored
feat(contracts): v0.1.0 release (#1387)
1 parent af45b51 commit 9b19b60

File tree

2 files changed

+19
-4
lines changed

2 files changed

+19
-4
lines changed

contracts/README.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# EigenDA Contracts
2-
This package contains all smart contracts used to power EigenDA's on-chain operations. This includes both core protocol logic and verification constructs that a rollup can leverage to verify certificate integrity. This project uses both npm and local submodules for dependency management. Most recently published release artifacts can be found [here](https://www.npmjs.com/package/@eigenda/contracts).
2+
This package contains all smart contracts used to power EigenDA's on-chain operations. This includes both core protocol logic and verification constructs that a rollup can leverage to verify certificate integrity. This project uses both NPM and local submodules for dependency management. Most recently published NPM release artifacts can be found [here](https://www.npmjs.com/package/@eigenda/contracts).
33

44

55
### Install
6-
Please ensure you've installed latest [foundry nightly](https://book.getfoundry.sh/getting-started/installation) as well as [yarn](https://classic.yarnpkg.com/lang/en/docs/install). To install packages, run the following commands:
6+
Please ensure you've installed latest [foundry nightly](https://book.getfoundry.sh/getting-started/installation) as well as [yarn](https://classic.yarnpkg.com/lang/en/docs/install). To install dependencies, run the following commands:
77
```
88
cd contracts
99
yarn install
@@ -16,4 +16,19 @@ To compile contracts and generate golang ABI bindings, run the following:
1616
```
1717
make compile-contracts
1818
19+
```
20+
21+
To just compile contracts, run the following:
22+
```
23+
yarn run build
24+
```
25+
26+
### Testing
27+
Tests are all written using foundry and can be ran via the following commands:
28+
```
29+
yarn run test
30+
```
31+
or
32+
```
33+
forge test -v
1934
```

contracts/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@eigenda/contracts",
3-
"version": "0.1.0-rc-2",
3+
"version": "0.1.0",
44
"description": "EigenDA core contracts",
55
"main": "index.js",
66
"directories": {
@@ -15,7 +15,7 @@
1515
],
1616
"scripts": {
1717
"test": "forge test -v",
18-
"build": "forge build"
18+
"build": "yarn && forge build"
1919
},
2020
"repository": {
2121
"type": "git",

0 commit comments

Comments
 (0)