Skip to content

Commit

Permalink
fix: Smart contract panicked: Callback computation 0 was not successf…
Browse files Browse the repository at this point in the history
…ul (#910)
  • Loading branch information
ppca authored Oct 28, 2024
1 parent c5eb72a commit 0afee90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chain-signatures/contract/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ const GAS_FOR_SIGN_CALL: Gas = Gas::from_tgas(50);
const DATA_ID_REGISTER: u64 = 0;

// Prepaid gas for a `clear_state_on_finish` call
const CLEAR_STATE_ON_FINISH_CALL_GAS: Gas = Gas::from_tgas(10);
const CLEAR_STATE_ON_FINISH_CALL_GAS: Gas = Gas::from_tgas(20);

// Prepaid gas for a `return_signature_on_finish` call
const RETURN_SIGNATURE_ON_FINISH_CALL_GAS: Gas = Gas::from_tgas(5);
const RETURN_SIGNATURE_ON_FINISH_CALL_GAS: Gas = Gas::from_tgas(10);

// Prepaid gas for a `update_config` call
const UPDATE_CONFIG_GAS: Gas = Gas::from_tgas(5);
Expand Down

0 comments on commit 0afee90

Please sign in to comment.