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: bug fixes in sui xcall #308

Merged
merged 2 commits into from
May 8, 2024

Conversation

gcranju
Copy link
Collaborator

@gcranju gcranju commented May 8, 2024

Description:

Commit Message

fix: bug fixes in sui xcall

see the guidelines for commit messages.

Changelog Entry

version: <log entry>

Checklist:

  • I have performed a self-review of my own code
  • I have documented my code in accordance with the documentation guidelines
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • I have run the unit tests
  • I only have one commit (if not, squash them into one commit).
  • I have a descriptive commit message that adheres to the commit message guidelines

Please review the CONTRIBUTING.md file for detailed contributing guidelines.

@gcranju gcranju added the bug Something isn't working label May 8, 2024
Copy link

codecov bot commented May 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.72%. Comparing base (566a521) to head (526f901).

Additional details and impacted files

Impacted file tree graph

@@                      Coverage Diff                       @@
##             feat/sui-xcall-contracts     #308      +/-   ##
==============================================================
- Coverage                       89.47%   83.72%   -5.75%     
  Complexity                         76       76              
==============================================================
  Files                              42       42              
  Lines                            2679     2679              
  Branches                           37       37              
==============================================================
- Hits                             2397     2243     -154     
- Misses                            265      419     +154     
  Partials                           17       17              
Flag Coverage Δ
solidity 58.91% <ø> (-29.85%) ⬇️

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

see 2 files with indirect coverage changes

@ibrizsabin ibrizsabin merged commit 7a0a5c2 into feat/sui-xcall-contracts May 8, 2024
13 of 15 checks passed
@ibrizsabin ibrizsabin deleted the fix/bug-fixes-in-sui-xcall branch May 8, 2024 05:08
gcranju added a commit that referenced this pull request Aug 8, 2024
* fix: set admin fixed

* fix: get fee added in entry as well
gcranju added a commit that referenced this pull request Aug 8, 2024
* fix: set admin fixed

* fix: get fee added in entry as well
gcranju added a commit that referenced this pull request Aug 8, 2024
* fix: set admin fixed

* fix: get fee added in entry as well
ibrizsabin added a commit that referenced this pull request Aug 9, 2024
* feat: add connection template

* feat: add states

* fix: suppress warnings

* fix: add get fee

* feat: centralized connection added

* feat: added some porion of xcall

* feat: add rlp encoding (#288)

* feat: add rlp

* feat: add tests

* fix: fixed double encoding

* fix: upgrade move

* fix: list encoding

* test: add tests

* feat: add encoding envelope

* fix: get_rollback reference issue

---------

Co-authored-by: gcranju <[email protected]>

* fix: cargo fmt

* feat: add mock dapp

* feat: fix rollback struct

* fix: some fix to xcall

* feat: add mock dapp

* fix: made send_call public

* fix: made some variables mutable

* fix: semicolons removed

* fix: coin consumed in both if else

* feat: state return added for testing

* fix: interface for testing

* fix: refactor send message

* feat: fix conn receive

* test: add receive message test

* feat: add tests

* feat: sui xcall test (#304)

* feat: sui xcall unit test

* feat: xcall flow tests added

* fix: xcall flow tests, hex_encode_decode

* feat: wrap persistent message method added in envelope

* fix: cleanup

* fix: add dapp entry

* fix: add dapp entry

* fix: cleanup imports

* feat: add move script

* feat: add move script

* fix: remove duplicate store connection message sequence (#296)

* feat: add id check

* fix: openzeppelin version upgrade

* fix: add txcontext

* fix: add protocols in ticket

* fix: get id cap

* fix: vecmap insert issue fixed (#307)

* fix: bug fixes in sui xcall (#308)

* fix: set admin fixed

* fix: get fee added in entry as well

* fix: claim fee test added

* fix: 0x issue resolved and tests added

* chore: add unit test coverage (#289)

* chore: add unit test for cosmwasm xcall lib

* chore: update test coverage for cosmwasm xcall

* chore: add test cases for solidity CallService

* chore: add test cases for previous xcall version

* fix: fix rlp decode

* ci: add sui build and test job

* fix: fix long list decode

* fix: xcall deployment script

* feat: rollback added

* fix: rlp encoding decoding for large value fixed (#316)

* fix: rlp encoding decoding for large value fixed

Signed-off-by: gcranju <[email protected]>

* fix: empty vector decode f800 issue

---------

Signed-off-by: gcranju <[email protected]>

* fix: missing implementation of handle-reply added (#317)

* fix: reply state set

* fix: store nid dynamically (#319)

* fix: relayer set admin

* fix: handle network address conversion

* fix: 0x removed in sui addressed/ids

* fix: get rollback message to rollback

* fix: 0x issue resolved

* fix: upgrade compatibility issue

* fix: testnet deployment move toml

* fix: removed logs

* fix: 0x issue in handle message

* fix: 0x issue in handle message

* fix: message removed in rollback ticket

* fix: formatting in sui address

* fix: added param in rollback event

* fix: message field added in rollback event

* fix: relp encode to ensure javascore decode

* fix: relp encode to ensure javascore decode

* feat: add conncap

* fix: tests

* fix: refactor mutability

* fix: cleanup

* fix: fix mockdapp test

* feat: dont require conn cap on read methods

* fix: test fix

* feat unit tests added

* fix: rlp decoding issue for very large numbers fixed (#331)

* fix: error message in execute call

* fix: sui implementation changes docs (#332)

* fix: sui implementation changes docs

* fix: deployment/cap id things added

* fix: update sui-xcall.md

* fix: update sui-xcall.md

* fix: multi protocol handle message

* fix: comments from anton

* fix: internal audit issues (#335)

* fix: audit issues

* fix: fix mockdapp test

* fix: external audit fixes (#343)

* feat: add tests

* feat: add tests multi conn

* feat: cleanup cmnts

* fix: make mutable function package only and add test_only macro

* fix: submodules fix

* fix: fix public mutable and format

---------

Signed-off-by: gcranju <[email protected]>
Co-authored-by: gcranju <[email protected]>
Co-authored-by: gcranju <[email protected]>
Co-authored-by: undefined <[email protected]>
Co-authored-by: Deepak Bomjan <[email protected]>
Co-authored-by: gcranju <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants