Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix rebalance bug and add sanity check #454

Merged
merged 22 commits into from
Nov 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
01bddae
Merge pull request #330 from consensusnetworks/develop
shanejearley Jun 14, 2023
266f0f7
Merge pull request #359 from consensusnetworks/develop
shanejearley Jul 12, 2023
f91a3e9
Merge pull request #373 from consensusnetworks/develop
shanejearley Aug 7, 2023
3b4412a
Merge pull request #397 from consensusnetworks/develop
shanejearley Aug 15, 2023
2a3dd4e
Merge pull request #405 from consensusnetworks/develop
shanejearley Aug 15, 2023
7d5f658
Merge pull request #406 from consensusnetworks/develop
shanejearley Aug 28, 2023
a51906f
Merge pull request #418 from consensusnetworks/develop
shanejearley Oct 24, 2023
3c0c0de
Merge pull request #435 from consensusnetworks/develop
shanejearley Oct 31, 2023
a1f0b9d
Merge branch 'develop'
shanejearley Oct 31, 2023
f24bb00
Release v1.0.0-beta.1
shanejearley Oct 31, 2023
5c81be0
Merge pull request #447 from consensusnetworks/develop
shanejearley Oct 31, 2023
783a59e
Release v1.0.0-beta.2
shanejearley Oct 31, 2023
cae0e32
Merge branch 'develop'
shanejearley Nov 1, 2023
338c1a7
Release v1.0.0-beta.3
shanejearley Nov 1, 2023
87907b8
Push current report fix
shanejearley Nov 1, 2023
41a5aa9
Uncomment fulfillment
shanejearley Nov 1, 2023
8faf909
Update statuses
shanejearley Nov 1, 2023
73be1f6
Fix rebalance bug and add sanity check
shanejearley Nov 2, 2023
7be0cd2
Bump go version
shanejearley Nov 2, 2023
ae04716
Use deployed contract fork in dev script
shanejearley Nov 3, 2023
bd0d6f5
Emit request ID and args on request from upkeep
shanejearley Nov 3, 2023
16ed350
Fix start and end index in functions source
shanejearley Nov 4, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
113 changes: 113 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,121 @@ All notable changes to this project will be documented in this file. Dates are d

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### [v1.0.0-beta.3](https://github.com/consensusnetworks/casimir/compare/v1.0.0-beta.2...v1.0.0-beta.3)

- Fix nodes and blog cdk providers [`ff8a73a`](https://github.com/consensusnetworks/casimir/commit/ff8a73aff189602910ee53c4af742f18c27d3a13)

#### [v1.0.0-beta.2](https://github.com/consensusnetworks/casimir/compare/v1.0.0-beta.1...v1.0.0-beta.2)

> 31 October 2023

- Promote develop to master [`#447`](https://github.com/consensusnetworks/casimir/pull/447)
- Release v1.0.0-beta.2 [`783a59e`](https://github.com/consensusnetworks/casimir/commit/783a59e2affbe3e4315272a4384560e58a0d5446)
- Fix migrations script [`cfffd3f`](https://github.com/consensusnetworks/casimir/commit/cfffd3f2ee3926ceae0fecb9925401099d47b67d)

#### [v1.0.0-beta.1](https://github.com/consensusnetworks/casimir/compare/v0.0.4...v1.0.0-beta.1)

> 31 October 2023

- Promote develop to master [`#435`](https://github.com/consensusnetworks/casimir/pull/435)
- Make small tweaks before releasing landing page [`#445`](https://github.com/consensusnetworks/casimir/pull/445)
- Enhancement/landing copy [`#443`](https://github.com/consensusnetworks/casimir/pull/443)
- Bug/operator page [`#442`](https://github.com/consensusnetworks/casimir/pull/442)
- Update Table Headers [`#436`](https://github.com/consensusnetworks/casimir/pull/436)
- Fix operators bug [`#441`](https://github.com/consensusnetworks/casimir/pull/441)
- Remove export buttons and add coming soon to operator buttons [`#440`](https://github.com/consensusnetworks/casimir/pull/440)
- Feature/goerli network [`#439`](https://github.com/consensusnetworks/casimir/pull/439)
- Enhancement/goerli cleanup [`#438`](https://github.com/consensusnetworks/casimir/pull/438)
- Feature/eigen toggle [`#437`](https://github.com/consensusnetworks/casimir/pull/437)
- Promote develop to master [`#418`](https://github.com/consensusnetworks/casimir/pull/418)
- Feature/migrate new landing [`#431`](https://github.com/consensusnetworks/casimir/pull/431)
- Fixing ts issues for deployment [`#428`](https://github.com/consensusnetworks/casimir/pull/428)
- Deploy contracts and configure variables [`#422`](https://github.com/consensusnetworks/casimir/pull/422)
- Enhancement/fe loaders and adjustments [`#427`](https://github.com/consensusnetworks/casimir/pull/427)
- Feature/wallet connect v2 [`#426`](https://github.com/consensusnetworks/casimir/pull/426)
- Feature/composable refactor [`#424`](https://github.com/consensusnetworks/casimir/pull/424)
- Update/composables [`#421`](https://github.com/consensusnetworks/casimir/pull/421)
- Fix app bugs on Safari browser and Brave [`#420`](https://github.com/consensusnetworks/casimir/pull/420)
- Implement addOperator and add node_url as a field on Operator table [`#417`](https://github.com/consensusnetworks/casimir/pull/417)
- Promote develop to master [`#406`](https://github.com/consensusnetworks/casimir/pull/406)
- Reorder functions to match styleguide [`#415`](https://github.com/consensusnetworks/casimir/pull/415)
- Revert "Remediate Hacken findings in contracts" [`#412`](https://github.com/consensusnetworks/casimir/pull/412)
- Remediate Hacken findings in contracts [`#409`](https://github.com/consensusnetworks/casimir/pull/409)
- Enhancements/fe tweaks [`#408`](https://github.com/consensusnetworks/casimir/pull/408)
- Feature/new landing [`#407`](https://github.com/consensusnetworks/casimir/pull/407)
- Stream events from local Ethereum fork (Happy 4th 🇺🇸) [`#366`](https://github.com/consensusnetworks/casimir/pull/366)
- Promote develop to master [`#405`](https://github.com/consensusnetworks/casimir/pull/405)
- Promote develop to master [`#397`](https://github.com/consensusnetworks/casimir/pull/397)
- Add published ethereum docs [`#404`](https://github.com/consensusnetworks/casimir/pull/404)
- Reorganize documentation and add setup check [`#402`](https://github.com/consensusnetworks/casimir/pull/402)
- Add default env vars for contracts addresses to cdk deploy script [`#403`](https://github.com/consensusnetworks/casimir/pull/403)
- Update/local demo [`#400`](https://github.com/consensusnetworks/casimir/pull/400)
- Enhancement/fine tune uiux [`#401`](https://github.com/consensusnetworks/casimir/pull/401)
- Promote develop to master [`#373`](https://github.com/consensusnetworks/casimir/pull/373)
- Add operator selection and internal operators for testing [`#387`](https://github.com/consensusnetworks/casimir/pull/387)
- Update/demo [`#388`](https://github.com/consensusnetworks/casimir/pull/388)
- Feature/operators db [`#386`](https://github.com/consensusnetworks/casimir/pull/386)
- Add operator page and mock data for it as well [`#385`](https://github.com/consensusnetworks/casimir/pull/385)
- Add Foundry for Solidity docs and tests [`#382`](https://github.com/consensusnetworks/casimir/pull/382)
- Update/mobile wallets [`#381`](https://github.com/consensusnetworks/casimir/pull/381)
- Refactor oracle handlers [`#380`](https://github.com/consensusnetworks/casimir/pull/380)
- Fix typo in BreakdownChart.vue [`#379`](https://github.com/consensusnetworks/casimir/pull/379)
- Feature/user table data [`#378`](https://github.com/consensusnetworks/casimir/pull/378)
- Add action schema to track wallet and stake events [`#377`](https://github.com/consensusnetworks/casimir/pull/377)
- Feature/front end data renaming [`#376`](https://github.com/consensusnetworks/casimir/pull/376)
- Add start block and compounding to dev network [`#375`](https://github.com/consensusnetworks/casimir/pull/375)
- Feature/populate staking address [`#374`](https://github.com/consensusnetworks/casimir/pull/374)
- Feature/connect data to table [`#372`](https://github.com/consensusnetworks/casimir/pull/372)
- Feature/overview metrics [`#371`](https://github.com/consensusnetworks/casimir/pull/371)
- Promote develop to master [`#359`](https://github.com/consensusnetworks/casimir/pull/359)
- Feature/dynamic chart colors [`#370`](https://github.com/consensusnetworks/casimir/pull/370)
- Add users and web CDK for deployment [`#368`](https://github.com/consensusnetworks/casimir/pull/368)
- Update/user schema [`#369`](https://github.com/consensusnetworks/casimir/pull/369)
- Feature/more fe integration [`#365`](https://github.com/consensusnetworks/casimir/pull/365)
- Feature/athena query [`#367`](https://github.com/consensusnetworks/casimir/pull/367)
- Analytics service [`#361`](https://github.com/consensusnetworks/casimir/pull/361)
- Feature/breakdown [`#364`](https://github.com/consensusnetworks/casimir/pull/364)
- Feature/fe integration [`#362`](https://github.com/consensusnetworks/casimir/pull/362)
- Update/type errors [`#360`](https://github.com/consensusnetworks/casimir/pull/360)
- Update CDK stack to initialize resources for analytics [`#356`](https://github.com/consensusnetworks/casimir/pull/356)
- Feature/functional components [`#358`](https://github.com/consensusnetworks/casimir/pull/358)
- Promote develop to master [`#330`](https://github.com/consensusnetworks/casimir/pull/330)
- Add pre-audit contracts with dev simulation [`#343`](https://github.com/consensusnetworks/casimir/pull/343)
- Feature/screen response [`#342`](https://github.com/consensusnetworks/casimir/pull/342)
- Feature/connect auth [`#341`](https://github.com/consensusnetworks/casimir/pull/341)
- Update/types [`#340`](https://github.com/consensusnetworks/casimir/pull/340)
- Feature/redesign-analytics-layout [`#339`](https://github.com/consensusnetworks/casimir/pull/339)
- Feature/more wallets [`#337`](https://github.com/consensusnetworks/casimir/pull/337)
- Feature/check address [`#335`](https://github.com/consensusnetworks/casimir/pull/335)
- Fix trezor composable ts issues [`#334`](https://github.com/consensusnetworks/casimir/pull/334)
- Update/calculate fees [`#331`](https://github.com/consensusnetworks/casimir/pull/331)
- Feature/ledger multi [`#329`](https://github.com/consensusnetworks/casimir/pull/329)
- Feature/new design [`#328`](https://github.com/consensusnetworks/casimir/pull/328)
- Promote develop to master [`#318`](https://github.com/consensusnetworks/casimir/pull/318)
- Update/siwe [`#326`](https://github.com/consensusnetworks/casimir/pull/326)
- Update/db schema [`#320`](https://github.com/consensusnetworks/casimir/pull/320)
- Test mock aggregator [`#319`](https://github.com/consensusnetworks/casimir/pull/319)
- Hotfix/sub account [`#317`](https://github.com/consensusnetworks/casimir/pull/317)
- Promote develop to master [`#313`](https://github.com/consensusnetworks/casimir/pull/313)
- Feature/get balances [`#315`](https://github.com/consensusnetworks/casimir/pull/315)
- Fix hardware wallet emulator [`#316`](https://github.com/consensusnetworks/casimir/pull/316)
- New app design pt 2 [`#312`](https://github.com/consensusnetworks/casimir/pull/312)
- Promote develop to master [`#307`](https://github.com/consensusnetworks/casimir/pull/307)
- Update/user verified [`#310`](https://github.com/consensusnetworks/casimir/pull/310)
- Add automation upkeep test [`#309`](https://github.com/consensusnetworks/casimir/pull/309)
- Enable login with ledger [`#306`](https://github.com/consensusnetworks/casimir/pull/306)
- Implement withdraw method in ssv composable [`#308`](https://github.com/consensusnetworks/casimir/pull/308)
- Add dynamic balances with mock rewards and distribution [`#299`](https://github.com/consensusnetworks/casimir/pull/299)
- Add contracts readme and change balance to stake [`#305`](https://github.com/consensusnetworks/casimir/pull/305)
- Promote develop to master [`#303`](https://github.com/consensusnetworks/casimir/pull/303)
- Fix oracle authorization [`d48716f`](https://github.com/consensusnetworks/casimir/commit/d48716fe8594c44bfa06ee4b67c3f7629fe63648)
- Change FunctionsOracle authorization [`311cc2e`](https://github.com/consensusnetworks/casimir/commit/311cc2e3631c03fa7e7e4e5fed489bb72ffe5dd4)
- Rebalance a change gracefully when previous total stake is zero (skip deploy) [`3b79d03`](https://github.com/consensusnetworks/casimir/commit/3b79d03d7563de3be633fb0e49fa8006d1201920)

#### [v0.0.4](https://github.com/consensusnetworks/casimir/compare/v0.0.3...v0.0.4)

> 30 March 2023

- Promote develop to master [`#302`](https://github.com/consensusnetworks/casimir/pull/302)
- Promote develop to master [`#301`](https://github.com/consensusnetworks/casimir/pull/301)
- Promote develop to master [`#291`](https://github.com/consensusnetworks/casimir/pull/291)
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,14 +163,14 @@ Test the Ethereum contracts.

```zsh
# From the root directory
npm run test:ethereum
npm run test --workspace @casimir/ethereum
```

Deploy the Ethereum contracts to local network and simulate events and oracle handling.
Fork the Ethereum contracts to local network and simulate events and oracle handling.

```zsh
# From the root directory
npm run dev:ethereum
npm run dev --workspace @casimir/ethereum
```

See the [@casimir/ethereum README.md](contracts/ethereum/README.md) for detailed documentation.
Expand Down
3 changes: 2 additions & 1 deletion common/env/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ enum ETHEREUM_WS_URL {

enum HARDHAT_NETWORK_KEY {
GOERLI = 'TESTNET',
HARDHAT = 'TESTNET'
HARDHAT = 'TESTNET',
LOCALHOST = 'TESTNET'
}

export {
Expand Down
Loading