This repository has been archived by the owner on Jul 9, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 465
@0x/contracts-integrations
: Add ChaiBridge
and DydxBridge
gas b…
#2478
Merged
dorothy-zbornak
merged 7 commits into
development
from
feat/contracts/integrations/chai-bridge-benchmarks
Feb 26, 2020
Merged
@0x/contracts-integrations
: Add ChaiBridge
and DydxBridge
gas b…
#2478
dorothy-zbornak
merged 7 commits into
development
from
feat/contracts/integrations/chai-bridge-benchmarks
Feb 26, 2020
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dorothy-zbornak
force-pushed
the
feat/contracts/integrations/chai-bridge-benchmarks
branch
from
February 11, 2020 00:47
54a3dce
to
2e9d69c
Compare
dorothy-zbornak
force-pushed
the
feat/contracts/integrations/chai-bridge-benchmarks
branch
from
February 11, 2020 19:00
2e9d69c
to
cb7939e
Compare
moodlezoup
approved these changes
Feb 13, 2020
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me. Can we add comments in the test files with the results? 🙏
|
||
import { contractAddresses } from '../mainnet_fork_utils'; | ||
|
||
const CHONKY_DAI_WALLET = '0x3a9F7C8cA36C42d7035E87C3304eE5cBd353a532'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice
dorothy-zbornak
force-pushed
the
feat/contracts/dev-utils/dydx-validation
branch
from
February 19, 2020 21:02
c322ee2
to
3ec8924
Compare
`@0x/contracts-dev-utils`: Add `D18` library for working with base-10, 18-digit decimals. `@0x/contracts-dev-utils`: Use `D18` library instead of `LibFractions` in `LibDydxBalance`.
`@0x/dev-utils`: Fix all the weird dydx base unit madness.
…enchmark tests.
dorothy-zbornak
force-pushed
the
feat/contracts/integrations/chai-bridge-benchmarks
branch
from
February 26, 2020 17:17
cb7939e
to
cdd0dd2
Compare
dorothy-zbornak
requested review from
BMillman19,
dave4506,
dekz,
fabioberger,
feuGeneA,
fragosti and
xianny
as code owners
February 26, 2020 17:17
…st run gas costs to benchmarks.
dorothy-zbornak
force-pushed
the
feat/contracts/integrations/chai-bridge-benchmarks
branch
from
February 26, 2020 17:57
cdd0dd2
to
0baec61
Compare
dorothy-zbornak
changed the base branch from
feat/contracts/dev-utils/dydx-validation
to
development
February 26, 2020 19:16
dorothy-zbornak
deleted the
feat/contracts/integrations/chai-bridge-benchmarks
branch
February 26, 2020 19:17
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Introducing
DydxBridge
andChaiBridge
gas benchmarking tests.Here's the results:
DydxBridge
DAI->USDC with 1 deposit and 1 withdraw action:375066
DydxBridge
DAI->USDC with just 1 withdraw action:315896
ChaiBridge
WETH->DAI:293453
ChaiBridge
DAI->WETH:292936
For reference:
124665
Testing instructions
These are fork tests. Figure it out.
Types of changes
Checklist:
[WIP]
if necessary.