Skip to content
This repository has been archived by the owner on Dec 5, 2021. It is now read-only.

Commit

Permalink
Merge pull request #208 from omgnetwork/develop
Browse files Browse the repository at this point in the history
Crunchy tiger 0.0.1
  • Loading branch information
InoMurko authored Jul 18, 2021
2 parents 6132e7a + 9e07036 commit 35562cd
Show file tree
Hide file tree
Showing 1,505 changed files with 257,306 additions and 13,583 deletions.
5 changes: 5 additions & 0 deletions .changeset/brown-boxes-compete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/data-transport-layer': patch
---

Adds additional code into the DTL to defend against situations where an RPC provider might be missing an event.
5 changes: 5 additions & 0 deletions .changeset/calm-fans-travel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/contracts': patch
---

Migrated from tslint to eslint. The preference for lint exceptions is as follows: line level, block level, file level, package level.
5 changes: 5 additions & 0 deletions .changeset/cold-cows-cross.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/integration-tests': patch
---

Reduce test timeout from 100 to 20 seconds
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"commit": false,
"linked": [],
"access": "public",
"baseBranch": "master",
"baseBranch": "develop",
"updateInternalDependencies": "patch",
"ignore": []
}
5 changes: 5 additions & 0 deletions .changeset/cool-baboons-guess.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/smock': patch
---

Fixes a bug that would break call assertions for overloaded smocked functions
6 changes: 6 additions & 0 deletions .changeset/fair-maps-pretend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@eth-optimism/batch-submitter': patch
'@eth-optimism/data-transport-layer': patch
---

Remove dead imports from core-utils
6 changes: 6 additions & 0 deletions .changeset/fuzzy-dogs-share.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@eth-optimism/l2geth': patch
'@eth-optimism/core-utils': patch
---

Implement the next fee spec in both geth and in core-utils
5 changes: 5 additions & 0 deletions .changeset/great-shrimps-rule.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/message-relayer': patch
---

Adds a README and cleans up the interface for generating messages and proofs
5 changes: 0 additions & 5 deletions .changeset/kind-bears-think.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/kind-houses-rush.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/l2geth': patch
---

fix potential underflow when launching the chain when the last verified index is 0
5 changes: 5 additions & 0 deletions .changeset/late-countries-guess.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/contracts': patch
---

Update contracts README to add deploy instructions.
5 changes: 5 additions & 0 deletions .changeset/lazy-toes-teach.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/l2geth': patch
---

Fixes an off-by-one error that would sometimes break replica syncing when stopping and restarting geth.
5 changes: 0 additions & 5 deletions .changeset/nasty-bees-remain.md

This file was deleted.

6 changes: 6 additions & 0 deletions .changeset/nasty-dots-grow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@eth-optimism/l2geth': patch
'@eth-optimism/data-transport-layer': patch
---

Fix gasLimit overflow
5 changes: 5 additions & 0 deletions .changeset/nice-terms-walk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/smock': patch
---

Minor smock patch to add support for hardhat 2.4.0 and up
5 changes: 5 additions & 0 deletions .changeset/olive-chicken-heal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/contracts': patch
---

Make it possible to override mint & burn methods in L2StandardERC20
5 changes: 5 additions & 0 deletions .changeset/olive-planets-clean.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/batch-submitter': patch
---

Add failure metrics to batch submitter
5 changes: 0 additions & 5 deletions .changeset/pink-buttons-hang.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/quick-pandas-laugh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/data-transport-layer': patch
---

Fixes a bug that prevented verifiers from syncing properly with the DTL
5 changes: 5 additions & 0 deletions .changeset/seven-carpets-tell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/contracts': patch
---

Introduces the congestion price oracle contract
5 changes: 5 additions & 0 deletions .changeset/sharp-files-knock.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/message-relayer': patch
---

Adds a new set of tools for generating messages to be relayed and their proofs
5 changes: 5 additions & 0 deletions .changeset/silent-masks-hunt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/core-utils': patch
---

Delete dead transaction coders. These are no longer used now that RLP encoded transactions are used
5 changes: 5 additions & 0 deletions .changeset/slimy-rivers-promise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/data-transport-layer': patch
---

Logs the error stacktrace for a failed HTTP request
7 changes: 7 additions & 0 deletions .changeset/smooth-ears-pay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@eth-optimism/integration-tests': patch
'@eth-optimism/l2geth': patch
'@eth-optimism/core-utils': patch
---

Implement the latest fee spec such that the L2 gas limit is scaled and the tx.gasPrice/tx.gasLimit show correctly in metamask
7 changes: 7 additions & 0 deletions .changeset/sour-adults-worry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@eth-optimism/batch-submitter': patch
'@eth-optimism/common-ts': patch
'@eth-optimism/data-transport-layer': patch
---

Move the metric prefix string to a label #1047
5 changes: 0 additions & 5 deletions .changeset/sour-onions-burn.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/spotty-drinks-bathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/data-transport-layer': patch
---

incorrect parsing of eth_getBlockRange result
5 changes: 5 additions & 0 deletions .changeset/ten-pumas-perform.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/l2geth': patch
---

Correctly log 'end of OVM execution' message.
5 changes: 5 additions & 0 deletions .changeset/ten-spiders-boil.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/message-relayer': patch
---

Removes spreadsheet mode from the message relayer
5 changes: 5 additions & 0 deletions .changeset/thin-waves-bathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/contracts': patch
---

Minor change to how deploy.ts is invoked
5 changes: 5 additions & 0 deletions .changeset/thirty-eagles-reply.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/contracts': patch
---

Add a task for setting the gas price oracle
5 changes: 5 additions & 0 deletions .changeset/wet-falcons-talk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/data-transport-layer': patch
---

improve slow blocking JSON parsing that occurs during l2 sync
80 changes: 80 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
version: 2.1
jobs:
build:
machine:
image: ubuntu-1604:202004-01
steps:
- checkout
- run:
name: Build
command: |
make docker-build
no_output_timeout: 2400s
- run: sudo chown -R 100:1000 docker/config/ && sudo chmod -R 777 docker/config/
- run:
name: Infra standup
working_directory: /home/circleci/project/docker
command: docker-compose up ganache truffle
background: true
# prevent docker network creation race condition
- run: sleep 5
- run:
name: Test
working_directory: /home/circleci/project/docker
command: docker-compose up vault_server
no_output_timeout: 2400s
- run:
name: Test validation
working_directory: /home/circleci/project/docker
command: exit $(docker-compose logs | grep -c "DID NOT PASS THE REQUIRED TEST")
- run:
name: Save Docker image
command: |
mkdir -p /tmp/workspace
docker save -o /tmp/workspace/omgnetwork_vault-latest.tar omgnetwork/vault:latest
- persist_to_workspace:
root: /tmp/workspace
paths:
- "omgnetwork_vault-latest.tar"

publish:
machine:
image: ubuntu-1604:202004-01
environment:
GCR_PREFIX: gcr.io/omisego-development
IMMUTABILITY_IMAGE: omgnetwork/vault
steps:
- attach_workspace:
at: /tmp/workspace
- checkout
- run:
name: Install GCloud SDK
command: |
echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] http://packages.cloud.google.com/apt cloud-sdk main" | sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key --keyring /usr/share/keyrings/cloud.google.gpg add -
sudo apt-get update && sudo apt-get install google-cloud-sdk
- run:
name: Publish to GCR
command: |
export SEMVER=$(cat ./VERSION)
echo $GCLOUD_SERVICE_KEY | gcloud auth activate-service-account --key-file=-
gcloud -q auth configure-docker
docker load -i /tmp/workspace/omgnetwork_vault-latest.tar
docker tag $IMMUTABILITY_IMAGE:latest $GCR_PREFIX/$IMMUTABILITY_IMAGE:$SEMVER
docker push $GCR_PREFIX/$IMMUTABILITY_IMAGE:$SEMVER
workflows:
version: 2
build-test-lint:
jobs:
- build
- publish:
requires: [build]
filters: &master_and_version_branches_and_all_tags
branches:
only:
- master
- /^v[0-9]+\.[0-9]+/
tags:
only:
- /.+/
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ tests/testdata
l2geth/signer/fourbyte
l2geth/cmd/puppeth
l2geth/cmd/clef
go/gas-oracle/gas-oracle
Loading

0 comments on commit 35562cd

Please sign in to comment.