Skip to content

Commit

Permalink
fix: liveliness dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
damienen committed Jul 28, 2024
1 parent b662b5f commit 864273d
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 4 deletions.
20 changes: 19 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ publish = false
[lib]
path = "src/lib.rs"

[dependencies]
core-mx-liveliness-stake = {git ="https://github.com/Itheum/core-mx-liveliness-stake.git",branch = "main"}

[dependencies.multiversx-sc]
version = "0.51.0"

Expand Down
20 changes: 19 additions & 1 deletion wasm/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions wasm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

// Init: 1
// Upgrade: 1
// Endpoints: 53
// Endpoints: 55
// Async Callback (empty): 1
// Total number of exported functions: 56
// Total number of exported functions: 58

#![no_std]

Expand All @@ -30,6 +30,7 @@ multiversx_sc_wasm_adapter::endpoints! {
getCompensationBlacklist => compensation_blacklist
getTotalBondAmount => total_bond_amount
getAddressVaultNone => address_vault_nonce
getLivelinessStakeAddress => liveliness_stake_address
getBond => get_bond
getCompensation => get_compensation
getCompensations => get_compensations
Expand Down Expand Up @@ -63,6 +64,7 @@ multiversx_sc_wasm_adapter::endpoints! {
setMinimumPenalty => set_minimum_penalty
setMaximumPenalty => set_maximum_penalty
setWithdrawPenalty => set_withdraw_penalty
setLivelinessStakeAddress => set_liveliness_stake_address
setAdministrator => set_administrator
getContractState => contract_state
getAdministrator => administrator
Expand Down

0 comments on commit 864273d

Please sign in to comment.