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

[DO NOT MERGE] Feature: unified syntax & system tests #894

Closed
wants to merge 81 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
dd4cb71
Github actions on rc branches
psorinionut Apr 9, 2024
c2a2d27
Merge pull request #881 from multiversx/github-actions-rc-branches
psorinionut Apr 9, 2024
b21ea70
Router check pair refactor
psorinionut Apr 10, 2024
16f0d72
clippy fixes
psorinionut Apr 10, 2024
b01507b
add check on enable swap by user
psorinionut Apr 11, 2024
19e8ce3
Farm staking merge fix + unit tests
psorinionut Apr 11, 2024
74c16af
use FarmStakingWrapper for merge endpoint
psorinionut Apr 12, 2024
04ecfe4
Merge branch 'rc/v3.0' into farm-staking-tests-with-merge-fix
psorinionut Apr 12, 2024
1f215e6
Merge branch 'rc/v3.0' into router-check-is-pair-refactor
psorinionut Apr 12, 2024
88ab1ca
router fix after framework upgrade
psorinionut Apr 12, 2024
baa4c13
Merge branch 'rc/v3.0' into farm-staking-tests-with-merge-fix
psorinionut Apr 12, 2024
c572908
energy factory tests
psorinionut Apr 12, 2024
ef12603
remove unneeded check
psorinionut Apr 15, 2024
6b5442e
total farm position through simple lock test
psorinionut Apr 15, 2024
f9b5a0d
farm updated tests
psorinionut Apr 15, 2024
ec4b550
add back the router reverse check pair logic
psorinionut Apr 16, 2024
954d65c
code cleanup
psorinionut Apr 16, 2024
a97b9c3
Merge pull request #886 from multiversx/router-check-is-pair-refactor
psorinionut Apr 16, 2024
1f7d912
send calls migration, new proxy for pair in router and build
mihaicalinluca Apr 16, 2024
e2b6ce7
reverted upgrade function back to no arguments + removed old proxies …
mihaicalinluca Apr 16, 2024
6c2a608
farm staking proxy unit tests
psorinionut Apr 16, 2024
a470bc3
Merge branch 'rc/v3.0' into farm-staking-tests-with-merge-fix
psorinionut Apr 16, 2024
4544a92
merge logic update orig owner in a separate fn for safer future impl …
psorinionut Apr 16, 2024
c519cca
fixed router upgrade_pair
andrei-marinica Apr 17, 2024
2061fae
new pair proxy cleanup
andrei-marinica Apr 17, 2024
27085fb
Merge pull request #888 from multiversx/farm-staking-tests-with-merge…
psorinionut Apr 17, 2024
08ef135
Merge branch 'rc/v3.0' into v3.0-various-unit-tests
psorinionut Apr 17, 2024
aa1c768
energy-factory
mihaicalinluca Apr 17, 2024
5bc6820
more energy-factory proxy migration
mihaicalinluca Apr 17, 2024
2482c62
Merge pull request #892 from multiversx/send-migration
andrei-marinica Apr 17, 2024
40390e8
small cleanup
mihaicalinluca Apr 17, 2024
5f81d8b
pair proxy
mihaicalinluca Apr 17, 2024
4708c52
clippy
mihaicalinluca Apr 17, 2024
d76f6ef
price-provider, fees-collector and pause
mihaicalinluca Apr 18, 2024
399d509
the remaining proxies and build
mihaicalinluca Apr 18, 2024
ee10fe1
clippy fixes
psorinionut Apr 18, 2024
3e70ead
initial impl and swap call to pair sc
mihaicalinluca Apr 22, 2024
fe7e92d
Proxy-dex: farm: original caller negative test
CostinCarabas Apr 23, 2024
16f3c31
update to latest wasm, proxy gen and progress on interact
mihaicalinluca Apr 23, 2024
e993235
original caller merge fix
psorinionut Apr 23, 2024
031b36a
proxy_dex: more unit tests
CostinCarabas Apr 23, 2024
6516b36
farm staking additional tests
psorinionut Apr 24, 2024
6eb7113
proxy_dex: more unit tests
CostinCarabas Apr 24, 2024
a9bcc26
design change, reorg and progress for farm with locked rewards and pair
mihaicalinluca Apr 24, 2024
b0d1236
small integration test, cleanup, more endpoints
mihaicalinluca Apr 24, 2024
1a1f276
code coverage update
psorinionut Apr 24, 2024
dfbd57b
energy-factory views
mihaicalinluca Apr 25, 2024
7f2b02b
farm staking proxy interaction and small fixes
mihaicalinluca Apr 25, 2024
6a6ceac
reorg traits as modules
mihaicalinluca Apr 29, 2024
01a0959
Merge pull request #897 from multiversx/original-caller-merge-fix
psorinionut Apr 29, 2024
aed790b
Merge branch 'rc/v3.0' into v3.0-various-unit-tests
psorinionut Apr 29, 2024
6101651
Merge pull request #890 from multiversx/v3.0-various-unit-tests
psorinionut Apr 29, 2024
5587d14
Merge branch 'rc/v3.0' into additional-farm-staking-tests
psorinionut Apr 29, 2024
9c04db5
clippy fixes
psorinionut Apr 29, 2024
19c6abf
Merge pull request #898 from multiversx/additional-farm-staking-tests
psorinionut Apr 29, 2024
a222bd3
Merge branch 'rc/v3.0' into github-actions-code-coverage-update
psorinionut Apr 29, 2024
0ef7b61
Merge branch 'rc/v3.0' into proxy-dex-unit-tests
psorinionut Apr 29, 2024
e3c3196
Merge pull request #899 from multiversx/proxy-dex-unit-tests
psorinionut Apr 29, 2024
7713e19
Merge branch 'rc/v3.0' into github-actions-code-coverage-update
psorinionut Apr 29, 2024
effd81c
force rebuild github actions
psorinionut Apr 29, 2024
297cf73
Merge pull request #900 from multiversx/github-actions-code-coverage-…
psorinionut Apr 29, 2024
1761d54
Total farm position test in proxy dex
psorinionut Apr 29, 2024
77218ba
Merge pull request #903 from multiversx/proxy-dex-total-farm-position…
psorinionut Apr 29, 2024
8e8d180
Metastaking claim total farm position fix
psorinionut May 1, 2024
db82bb5
Merge pull request #904 from multiversx/metastaking-total-farm-positi…
psorinionut May 3, 2024
e38a2f4
Merge pull request #893 from multiversx/proxy-migration
andrei-marinica May 10, 2024
66c1461
Merge pull request #896 from multiversx/interactor
andrei-marinica May 10, 2024
eba7872
upgrade to framework version 0.49.0
andrei-marinica May 10, 2024
d30b4e0
fixes after upgrade to 0.49.0
andrei-marinica May 10, 2024
801c753
replaced deprecated call with unified syntax
andrei-marinica May 10, 2024
79a8175
cleanup, fmt
andrei-marinica May 10, 2024
422cb1f
upgrade to framework version 0.50.0
andrei-marinica May 10, 2024
fa90933
Merge pull request #907 from multiversx/upgrade-50
andrei-marinica May 10, 2024
5fa59c6
removed feature: trait_alias
andrei-marinica May 10, 2024
bb0f339
removed feature: exact_size_is_empty
andrei-marinica May 10, 2024
28d2b99
removed feature: int_roundings
andrei-marinica May 10, 2024
6ffe047
removed feature: associated_type_defaults
andrei-marinica May 10, 2024
acc527e
warning fix
andrei-marinica May 10, 2024
3a75566
proxy regen and sc-config proxy paths fix
mihaicalinluca May 10, 2024
2c5a2d9
merge rc/v3.0
mihaicalinluca May 10, 2024
2822dd6
Merge pull request #908 from multiversx/stable-dex
andrei-marinica May 10, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
56 changes: 2 additions & 54 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,61 +20,9 @@ permissions:
jobs:
contracts:
name: Contracts
uses: multiversx/mx-sc-actions/.github/workflows/contracts.yml@v2.3.5
uses: multiversx/mx-sc-actions/.github/workflows/contracts.yml@v3.1.0
with:
rust-toolchain: nightly-2023-12-11
vmtools-version: v1.5.24
coverage-args: --ignore-filename-regex='/.cargo/git' --output ./coverage.md
secrets:
token: ${{ secrets.GITHUB_TOKEN }}

# TEMPORARY: Remove this job when we can upgrade to mx-sc-actions v3+
test_coverage:
name: Test Coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Install rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly-2023-12-11
target: wasm32-unknown-unknown

- name: Install prerequisites
run: |
rustup component add llvm-tools-preview
dirname $(find ~/.rustup -name llvm-cov) >> $GITHUB_PATH

echo $(dirname $(find ~/.rustup -name llvm-cov))

cargo install multiversx-sc-meta --locked

- name: Run tests and generate report
env:
RUSTFLAGS: ""
run: |
sc-meta test-coverage --output ./coverage.md

- name: Upload the report
uses: actions/upload-artifact@v3
with:
name: coverage
path: coverage.md

- name: Find the comment containing the report
id: fc
uses: peter-evans/find-comment@v2
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository
with:
issue-number: ${{ github.event.pull_request.number }}
comment-author: "github-actions[bot]"
body-includes: "Coverage Summary"

- name: Create or update the report comment
uses: peter-evans/create-or-update-comment@v2
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository
with:
comment-id: ${{ steps.fc.outputs.comment-id }}
issue-number: ${{ github.event.pull_request.number }}
body-file: ./coverage.md
edit-mode: replace
Loading
Loading