Skip to content

Commit

Permalink
chore: squashed previous commits
Browse files Browse the repository at this point in the history
* feat: updating wip

* fix: self update

* fix: tests build

* fix: update path

* test: integration on ubuntu

* fix: don't use near sdk in integration tests

* fix: unit tests and non forked near sdk

* fix: integration tests

* feat: fixed deprecatad warnings, added migration methods

* test: migration integration test
feat: bulk restake and withdraw (#81)

* feat: restake all

* feat: bulk withdraw method

* fix: rebase conflicts

* feat: catch panic in tests

* fix: integration tests

* fix: don't use accounts with magic numbers

* test: restake all unit tests

* test: withdraw all unit tests

* test: check deletion on withdraw all

* test: restake all integration test

* fix: near sdk 5 migration test

* test: withdraw all integration test

* test: failed bulk withdraw internal

* fix: optimised mutation tests

* fix: improved tests and mutation fix

* fix: optimised events to fit lots of jars

* fix: restake internal naming

* fix: review comments

* fix: improved restake internal

* fix: add gas assert to transfer_bulk_withdraw method
fix: delete old products container (#83)

fix: improved withdraw all and tests (#84)

* fix: improved withdraw all and tests

* fix: integration tests

* fix: added typos check, fixed typos, fixed mutation tests

* fix: review fixes

* chore: measured restake_all gas

* feat: extensive gas_left tests
feat: check binary hash in commit (#85)

* feat: check binary hash in commit

* fixed typos

* fix: proper binary

* feat: print commit hash

* fix: print real commit hash

* fix: more convenient commit hash

* fix: updated gitignore

* fix: print correct commit hashes

* fix: ci yml

* fix: proper binary

* fix: update checkout action

* fixe: removed debug logs
chore: updated dependencies

feat: updated token and added claim contract

chore: cleanup for implementation without token changes

fix: rebase fixes

feat: add jar v2 and conversions

feat: steps accrual first implementation

wip: drawing graphs

feat: recurring interest calculation, better graph

wip: debugging step interest

feat: proper accruals graps

fix: rebase fixes

fix: typo

doc: more examples

feat: proper data conversion

fix: removed unused deps

feat: added step cap for product

feat: better step percent calculation

fest: decimal division

feat: test builder first implementation

feat: simplified existing tests

feat: further simplification

fix: fixed overflow with bigger steps values

test: improved

feat: steps accessor

feat: static percentage

feat: send event, pass timestamp to record method

fix: cleanup after rebase

feat: migration wip

feat: proper migration test

feat: new type of product in migration test

fix: removed unused method

feat: used charts from visu

feat: testing step accruals with walkchain delay

feat: calculate apy from previous day

feat: testing claim with score jars

fix: adjust for claim remainder for score jar too

test: additional check

test: improved

feat: testing with score timestamp

test: claim with adjustment

wip

fix: rebase fixes
  • Loading branch information
VladasZ committed Jul 16, 2024
1 parent 43127c0 commit 2bdc678
Show file tree
Hide file tree
Showing 70 changed files with 2,205 additions and 822 deletions.
File renamed without changes.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,11 @@ yarn-error.log*

generated
target
.build

mutants.out*

/res/sweat_jar_main.wasm
/res/sweat_jar_commit.wasm

walk.png
22 changes: 22 additions & 0 deletions .zed/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[
{
"label": "Test",
"command": "make test"
},
{
"label": "Lint",
"command": "make lint"
},
{
"label": "Build contract",
"command": "make build"
},
{
"label": "Build contract in docker",
"command": "make dock"
},
{
"label": "Integration tests",
"command": "make int"
}
]
Loading

0 comments on commit 2bdc678

Please sign in to comment.