-
Notifications
You must be signed in to change notification settings - Fork 99
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
proxy-pause sc use a proper sc for extension #1138
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contract comparison - from e3baa63 to bee8fa2
|
andrei-marinica
approved these changes
Jun 27, 2023
ovstinga
approved these changes
Jun 27, 2023
alyn509
added a commit
that referenced
this pull request
Jul 19, 2023
* Implement `IntoIterator` for storage mappers and some types * Use explicit `Item` types in `IntoIterator` impls * sc-meta test generator tool * sc-meta test generator tool - refactor, test, whitespace fix * sc-meta test generator tool - create flag * cleanup * updated tests using sc-meta test-gen * cargo fmt * implementation * clippy * fix depositor * undo actions * undo actions * fix tests part 1 * fix tests part 2 * fix tests 2 * forward + test * claim tests update * swap indexes for UnorderedSetMapper (#1033) * implementation + test * update test * fix set index * fix indexes * add sanity check for index * update description * test swap case indexes equal * fix after review * sc 0.39.8, vm 0.1.8 * publish.sh instructions update * Cargo.lock update * call value egld as ManagedRef * call value all esdts as ManagedRef * call value - removed esdt_value() * clippy fix * sc 0.40.0, vm 0.2.0 * Cargo.lock update * meta crate EI checker * clippy fix * cleanup * ManagedVecItem impl for arrays * ManagedVecItem payload size cleanup * sc 0.40.1, vm 0.2.1 * Cargo.lock update * allocator syntax changes for rustc 1.71.0 * Use new github workflow (by commit hash). * Use newer workflow. * Use newer workflow. * Use newer workflow. * Use newer workflow. * removed unnecessary alloc feature flags * github action fix * version fix * Allocator option in multicontract.toml * clippy fix * panic fmt managed implementation * panic fmt value formatting test * Added missing allocator config * new allocators: LeakingAllocator, StaticAllocator * deprecated legacy methods from API wrappers * deleted test-gen tool * wasm-adapter refactor * wasm macro fix * simplified allocators * doc fix * Fix `assert_positive` function * Remove commented code * allocator memory_size function * BigUint bitwise operation integration tests * stack size in multicontract.toml * packing abi + contract binary in one file * stack size examples * printing contract size * sc file build info in root * meta crate reorg * test fix * meta crate reorg: output contract * meta crate reorg * meta crate reorg: renamed sc_file_json -> mxsc_file_json * codec moved under /data * Cargo.lock update * sc 0.41.0, vm 0.3.0 * changelog update * Cargo.lock update * format-tests dependency fix * update default issue callback * check if token state is pending * check pending on simple issue * clippy * test fix * tests update part2 * default issue callback set consistency * test fixes part 3 * is not available bug fix * fix test with empty string value * add example inside snippet * change check not set or pending * fungible token mapper refactor * top encode backwards compatibility * undo encoding in test * encoding fix in checks * remove match from read token id * fix text with empty storage as reset * fix custom callback set token id * undo storage mapper fungible token set * remove set `notset` value * fix decoding * add clear to custom callbacks * rename check + add clear to error * default callbacks direct set storage * token_mapper have TokenMapperState in memory * update snippet * token mapper bugfix * token mappers folder * sc 0.41.1, vm 0.3.1 * publish.sh update * Cargo.lock update * fix comment * Digital cash fix (#1078) * digital cash changes 1 * private key handles 1 single deposit * digital cash lib rs update * update readme digital cash * digital cash tests update part 1 * scenatio update part 1 * update key and signatures * claim fees + more tests * update claim tests * fix signatures * multi esdt tests * readme update * Update contracts/examples/digital-cash/src/digital_cash.rs Co-authored-by: dorin-iancu <72252689+dorin-iancu@users.noreply.github.com> * fix after review --------- Co-authored-by: dorin-iancu <72252689+dorin-iancu@users.noreply.github.com> * chore(sdk/core): bump bip39 to v2.0.0 * chore(sdk/core): bump rand to v0.8.5 * sc 0.41.2, codec 0.17.2, vm 0.3.2 * update Cargo.lock * fixed deploy on devnet (signed) * explicit enum ABI * large-storage contract & test * ManagedBufferCachedBuilder bugfix * sc 0.41.3, vm 0.3.3 * Cargo.lock update * meta all command pretty print current index * proxy-pause sc use a proper sc for extension (#1138) * proxy- pause sc use a proper sc for extension * update cargo toml version * fix contract builder to proxy-pause test * update all contracts * rebranding * master merge leftovers --------- Co-authored-by: Oleksandr Movchan <oleksandr.movchan@tacanslabs.com> Co-authored-by: Andrei Marinica <andrei.marinica@elrond.com> Co-authored-by: Andrei Marinica <andrei.marinica@multiversx.com> Co-authored-by: Robert Sasu <sasu.robert@gmail.com> Co-authored-by: Andrei Băncioiu <andreibancioiu@users.noreply.github.com> Co-authored-by: Costin Carabaș <costin.carabas@gmail.com> Co-authored-by: dorin.iancu <dorin.iancu@elrond.com> Co-authored-by: dorin-iancu <72252689+dorin-iancu@users.noreply.github.com> Co-authored-by: rupansh <rupanshsekar@hotmail.com> Co-authored-by: Bogdan <bogdan.oloeriu@gmail.com>
alyn509
added a commit
that referenced
this pull request
Aug 11, 2023
* DebuggerApi - elliptic curves proper error messages * api - removed mb_copy_to_slice_pad_right * api - removed direct big int to heap conversions * DebuggerApi - now used in all scenario tests * DebuggerApi - print * panic after log test * mem_conv::with_mem_ptr_mut fix * scenario api - folder structure reorg * DebuggerApi - backend refactor * DebuggerApi - DebugHandle * DebuggerApi - DebugHandle context validation * DebuggerApi - handle safety & context * DebuggerApi - lldb printer test update * DebugApi - all dependencies routed to the new one * DebugApi - old implementation deleted from VM * DebuggerApi - renamed to DebugApi everywhere * whitebox test explicit error improvement * VM hooks handler error refactoring * debugger panic catching refactor * cleanup * vm - remove panics - subtract egld * vm - remove panics - subtract esdt * vm - remove panics - signal error * remove static state from TxContext * Executor interface in VM * moved debugger executor impl to framework/scenario * moved static stack impl to framework/scenario * vm - separate VMAddress and H256 * moved bech32 module to framework/scenario * vm - separate error messages * vm - separate builtin function names * proxy-pause sc use a proper sc for extension (#1138) * proxy- pause sc use a proper sc for extension * update cargo toml version * fix contract builder to proxy-pause test * update all contracts * vm - separate encode/decode * vm - HandleMap cleanup * vm - separate RawHandle alias * vm - separate display_util * vm - removed BoxedBytes * vm - separate esdt roles * vm - removed BigUint re-export * vm - removed dependency to framework * re-export fix * handle token issue and set special role * clippy fixes * cleanup, docs * add new token identifiers to scen set state step * refactor - transfer_egld_balance * fixes after merge, random token identifier generation method * handle issued token identifiers for blockchain update part 1 * whitebox test - query * vm refactor - BlockchainMock split into VM and state * vm refactor - BlockchainUpdate * handle issued token identifiers for blockchain update part 2 * remove bech32 crate from vm and group unimplemented fns from system_sc * find first token identifier matching ticker and add some tests * fix clippy issues * util - with_shared_mut_ref * util - Shareable type * vm refactor - sc queries using Shareable state/tx context * clippy fix * add cli for issue nft with all roles and new trace for scenarios * test-gen with new version * vm refactor - sc execution lambda, transfers * bugfix * vm refactor - sc calls * system_mock register and set all roles and refactor * whitebox test - call * vm refactor - sc deploy * whitebox test - deploy * de-duplicated esdt local role names in the VM * vm refactor - builtin func match instead of map of dyn trait * vm refactor - removed static lifetime bound for whitebox closure * vm refactor - esdt local role names * vm refactor - builtin function trait * old whitebox testing framework implementation based on the new one * scenario generation fix * rebranding * scenario account setters: code, owner * vm refactor - eliminated unnecessary generic * Merge branch 'rc/v0.42' into feat/whitebox (system-sc) * vm refactor - VMTokenType enum * clippy fix * fix after merge - BlockchainUpdate apply * StaticApi in blackbox tests & interactor * StaticApi in feature-tests unit tests * StaticApi in multisig unit test * StaticApi in static_buffer_ref_test * revert test * VMHooks impl refactor * VMHooks impl refactor * SingleTxApi implementation + usage in tests * SingleTxApi test * TxResponse refactor prototype * TxResponse refactor prototype * TxResponse refactor part1 * TypedScQuery refactor * Adder: Add upgrade SC mandos test * Adder: minor fix * Adder: Test fix * testing framework - execute step and handle result * adapt some tests for with_result * interactor - better error reporting * interactors - better error reporting * interactor methods aligned with testing framework * testing framework - refactor * adder interactor cleanup * scenario steps expect from result - refactor, fix * removed sc_deploy_use_new_address * test fix * digital cash test gen, rebuild * wasm crate update * large-storage test-gen * clippy fix in tests * txresponse refactor part I * fix newline issue * clippy fixes * invalid dependency fix * workspace fix * ScDeployStep `code` setter, deprecated `contract_code` * test fix * add extra time for tx result retrieval for safety * add minimal documentation * fixes after review I * clippy fixes II * remove deprecated fn * adapt leftover places after removing deprecated fn * adapt leftover places after removing deprecated fn part II * ScDeployStep code metadata default * ScCallStep - deprecated `call_expect` * scenario step default gas limit 5,000,000 * scenario step default expect ok * scenario steps - refactored response method * scenario step default expect ok * testing framework - renamed step methods * remove from multisig wegld interact * more removes from multisig * more removes from multisig part II * finished removing from multisig * removes from composability * small changes * CodecFrom anything implemented for IgnoreValue * interactor sc_call refactoring * interactor sc_deploy refactoring * snippets generator - upgraded, fixed * snippets generator - default src file changed * snippets generator - contract code new syntax * snippets generator - output formatting fix * snippet generator - further fixes * moved scenario macros * renamed scenario step files * renamed test files * deprecated into_blockchain_call * cargo fmt * renamed whitebox-legacy * deprecated legacy testing framework (whitebox_legacy) * renamed multisig interact folder * snippet generator Cargo.toml dep fix * sc 0.42.0, codec 0.18.0, vm 0.4.0, scenario-format 0.20.0, sdk 0.2.0 * Cargo.lock update * renamed test * renamed tests * upgraded adder upgrade test * fix balance set * test set over an NFT * static to const * started to make scenario debug engine multithreaded * made ScenarioWorld and related stuff thread safe * added tests * rustc compatibility when generating wasm crate * clippy fix * github action update * fixed clippy warning about std::mem::replace for Default * fixes * TxCache Send + Sync, clippy fix * cargo fmt * cleanup * merge fixes * merge fixes 2 * merge fixes 3 * merge fixes 4 * update rust toolchain * update toolchain match actions.yml * toolchain version attempt 3 --------- Co-authored-by: Andrei Marinica <andrei.marinica@multiversx.com> Co-authored-by: Ovidiu Stinga <ovstinga@gmail.com> Co-authored-by: Rupansh <rupanshsekar@hotmail.com> Co-authored-by: Costin Carabaș <costin.carabas@gmail.com> Co-authored-by: Fusee <quentus123@orange.fr>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue:
Fix:
check-pause
whose only purpose is to be used by proxy-pause for testing