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

Offchain prototype WIP - do not merge #350

Open
wants to merge 26 commits into
base: develop
Choose a base branch
from

Conversation

CAPtheorem
Copy link

No description provided.

mmontour1306 and others added 21 commits August 4, 2021 14:25
into the omgx monorepo, with some cleanup and whitespace fixes.

 Changes to be committed:
	modified:   l2geth/core/state_processor.go
	modified:   l2geth/core/state_transition.go
	modified:   l2geth/core/vm/evm.go
	modified:   l2geth/eth/api_backend.go
	modified:   l2geth/internal/ethapi/api.go
	modified:   l2geth/miner/worker.go
	modified:   l2geth/params/version.go
	modified:   l2geth/rollup/sync_service.go
	modified:   l2geth/rpc/errors.go
	modified:   l2geth/rpc/handler.go
	modified:   l2geth/rpc/service.go
	modified:   ops/docker/Dockerfile.geth
	new file:   packages/omgx/offchain-prototype/README-moved.md
	new file:   packages/omgx/offchain-prototype/contracts/HelloTuring.sol
	new file:   packages/omgx/offchain-prototype/contracts/TuringHelper.sol
	new file:   packages/omgx/offchain-prototype/hardhat.config.ts
	new file:   packages/omgx/offchain-prototype/local.env
	new file:   packages/omgx/offchain-prototype/package.json
	new file:   packages/omgx/offchain-prototype/test/hello-test.ts
	new file:   packages/omgx/offchain-prototype/tsconfig.json
 Changes to be committed:
	modified:   packages/batch-submitter/src/exec/run-batch-submitter.ts
	modified:   packages/message-relayer/src/exec/run.ts
	modified:   packages/message-relayer/src/exec/withdraw.ts
	modified:   packages/omgx/message-relayer-fast/src/exec/run.ts
Development only - not tuned for production.

 Changes to be committed:
	modified:   ops/docker-compose.yml
	modified:   ops/envs/batches.env
	modified:   ops/envs/dtl.env
	modified:   ops/envs/geth.env
used elsewhere in the monorepo.

 Changes to be committed:
	modified:   packages/omgx/offchain-prototype/package.json
the converse.

 Changes to be committed:
	modified:   ops/docker-compose.yml
we don't send multiple off-chain requests during the processing
of a single transaction.
 Changes to be committed:
	modified:   l2geth/core/vm/evm.go
 Conflicts:
	l2geth/miner/worker.go
…egister

multiple methods to be called over JSON-RPC. Update the "hello world" example
to include an "add 2 numbers" method as well as the string lookups.

	modified:   packages/omgx/offchain-prototype/contracts/HelloTuring.sol
	modified:   packages/omgx/offchain-prototype/contracts/TuringHelper.sol
	modified:   packages/omgx/offchain-prototype/test/hello-test.ts
 Changes to be committed:
	modified:   contracts/TuringHelper.sol
	modified:   package.json
	modified:   test/hello-test.ts
 Conflicts:
	ops/docker-compose.yml
…#315)

* add uniswapv2 fee example (incomplete)

* add offchain in uniswapv2pair

* feat: update fee-test

Co-authored-by: Mehul Agarwal <[email protected]>
Co-authored-by: souradeep-das <[email protected]>
Co-authored-by: CAPtheorem <[email protected]>
* Added multplication to offchain compute

* added classifier

* added classifier test

* addd __pychache__ to gitignore

* Added classifier

* Updated Readme

* nft designing

* resolve merge conflicts

Co-authored-by: CAPtheorem <[email protected]>
transaction (vs. from eth_call).

Skip a broken cat/dog classifier test case.

 Changes to be committed:
	modified:   contracts/HelloTuring.sol
	modified:   contracts/TuringHelper.sol
	modified:   test/hello-test.ts
@codecov-commenter
Copy link

codecov-commenter commented Sep 19, 2021

Codecov Report

Merging #350 (0908121) into develop (859f2fb) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #350   +/-   ##
========================================
  Coverage    76.09%   76.09%           
========================================
  Files           81       81           
  Lines         3037     3037           
  Branches       469      469           
========================================
  Hits          2311     2311           
  Misses         726      726           
Flag Coverage Δ
batch-submitter 59.51% <ø> (ø)
contracts 86.05% <ø> (ø)
core-utils 68.16% <ø> (ø)
data-transport-layer 37.68% <ø> (ø)
message-relayer 72.22% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 859f2fb...0908121. Read the comment docs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants