You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unify fallible and non fallible instantiate methods (#1591)
* Remove fallible create_builder.rs methods
* WIP experiment
* InstantiateResult blanket impl for T and Result
* Introduce ContractRef type parameter
* Fix up env access
* WIP...
* Make it compile
* Add ContractStorage parameter
* Remove commented out instantiate_fallible_contract
* Convert to env Error in helper
* Return Decode errors in case of invalid Result first byte
* Fix impls::instantiate_contract
* Remove ContractStorage generic parameter
* Fix env access
* Use generated constructor ref, introduces update_selector
* Fix e2e
* Remove commented out code
* Typos
* Clippy
* Rename some instantiate_fallible
* Restore `returns` method
* Remove ContractReference Result impl
* WIP implementing ConstructorReturnType
* Reorder ContractRef parameter, move ContractRef and ContractEnv trait to env crate
* Fmt and fix
* Remove E param from build_create
* Fix up build_create
* Fix up e2e creat builder
* Implement ContstructorReturnType for the storage_ident
* Fmt
* Fix envaccess test
* Fully qualify Result in macro
* More fully qualify Result in macro
* Fix up build_create examples
* Add test for different combos of Self and struct name
* Fix ui test
* Fmt
* Remove unused assoc type
* Change error fn to return Option<Result>
* Remove commented out code
* Fmt
* ConstructorReturnType comments
* Fix `contract-ref` E2E test compilation
* Fix up return types after merge
* Fmt
* Clippy
* Fix create_builder tests
* Fix cross-contract compile test
* Clean up some comments
* Remove outdated doc
* Update comment
* Another comment fix
* Wrap long line
* Remove TODO
* Bump `contract-metadata`
Fixes some inconsistent errors between Clippy and `rustc`
* Fix `CreateBuilder` compilation
* Fix one of the doc tests
* Clean up doc tests a bit
Co-authored-by: Hernando Castano <hernando@hcastano.com>
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com>
0 commit comments