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

Remove payable from claim boosted rewards endpoint #847

Merged
merged 3 commits into from
Mar 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 3 additions & 2 deletions energy-integration/governance-v2/wasm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
////////////////////////////////////////////////////

// Init: 1
// Endpoints: 29
// Endpoints: 30
// Async Callback (empty): 1
// Total number of exported functions: 31
// Total number of exported functions: 32

#![no_std]
#![allow(internal_features)]
Expand Down Expand Up @@ -42,6 +42,7 @@ multiversx_sc_wasm_adapter::endpoints! {
getUserVotedProposals => user_voted_proposals
getProposalVotes => proposal_votes
getProposalStatus => get_proposal_status
changeFeesCollectorAddress => change_fees_collector_address
getFeesCollectorAddress => fees_collector_address
setEnergyFactoryAddress => set_energy_factory_address
getEnergyFactoryAddress => energy_factory_address
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ pub trait ClaimOnlyBoostedStakingRewardsModule:
+ farm_boosted_yields::boosted_yields_factors::BoostedYieldsFactorsModule
+ crate::custom_rewards::CustomRewardsModule
{
#[payable("*")]
#[endpoint(claimBoostedRewards)]
fn claim_boosted_rewards(&self, opt_user: OptionalValue<ManagedAddress>) -> EsdtTokenPayment {
let caller = self.blockchain().get_caller();
Expand Down
Loading