profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/webmaster128/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Simon Warta webmaster128 @confio localhost https://warta.it/ Free Elf | Former Director of Engineering IOV | Co-Founder of Kullo | Board member prolina Foundation

randombit/botan 1744

Cryptography Toolkit

CosmWasm/cw-plus 115

Production Quality contracts under open source licenses

cosmos/cosmjs 108

The Swiss Army knife to power JavaScript based client solutions ranging from Web apps/explorers over browser extensions to server-side clients like faucets/scrapers.

confio/ts-relayer 41

IBC Relayer in TypeScript

CosmWasm/code-explorer 7

A code explorer for CosmWasm

confio/rand 4

Random oracle in CosmWasm

lisk-builders/lisk-argus 4

👁️ Monitoring software that keeps track of the Lisk network.

CosmWasm/cosmwasm-verify 2

Verify CosmWasm build results

CosmWasm/docs-old 2

Documentation for cosmwasm

created tagCosmWasm/wasmvm

tagv1.0.0-soon

Go bindings to the running cosmwasm contracts with wasmer

created time in 2 days

release CosmWasm/wasmvm

v1.0.0-soon

released time in 2 days

delete tag CosmWasm/wasmvm

delete tag : v1.0.0-soon

delete time in 2 days

release CosmWasm/wasmvm

v1.0.0-soon

released time in 2 days

push eventCosmWasm/cosmwasm

Federico Rodríguez

commit sha a31f5380a9b5e11bcbaa39b4a5f55cea6668c619

Update comments for MAX_LENGTH consts - MAX_LENGTH_DB_KEY is used in both db_read and db_write - `Max value` instead of `Max key` in MAX_LENGTH_DB_VALUE doc comment

view details

Federico Rodríguez

commit sha f16a4d6f010abcef0dc8cff1792dd00dd4358787

Update packages/vm/src/imports.rs Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>

view details

Federico Rodríguez

commit sha 52e125943de4f3970b89ed108f945a340d4afc83

Update packages/vm/src/imports.rs Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>

view details

Simon Warta

commit sha 100df08dc3f8f54ab73eb58f56dc0f02aaceca7f

Merge pull request #1097 from elfedy/patch-1 Update comments for MAX_LENGTH consts

view details

push time in 12 days

PR merged CosmWasm/cosmwasm

Update comments for MAX_LENGTH consts
  • MAX_LENGTH_DB_KEY is used in both db_read and db_write
  • Max value instead of Max key in MAX_LENGTH_DB_VALUE doc comment
+2 -2

0 comment

1 changed file

elfedy

pr closed time in 12 days

PullRequestReviewEvent
PullRequestReviewEvent
PullRequestReviewEvent
PullRequestReviewEvent

Pull request review commentCosmWasm/cosmwasm

Update comments for MAX_LENGTH consts

 use crate::GasInfo; const KI: usize = 1024; /// A mibi (mega binary) const MI: usize = 1024 * 1024;-/// Max key length for db_write (i.e. when VM reads from Wasm memory)+/// Max key length for db_write/db_read (i.e. when VM reads from or writes to Wasm memory) const MAX_LENGTH_DB_KEY: usize = 64 * KI;-/// Max key length for db_write (i.e. when VM reads from Wasm memory)+/// Max value length for db_write (i.e. when VM reads from Wasm memory)
/// Max value length for db_write (when VM reads the value argument from Wasm memory)
elfedy

comment created time in 12 days

Pull request review commentCosmWasm/cosmwasm

Update comments for MAX_LENGTH consts

 use crate::GasInfo; const KI: usize = 1024; /// A mibi (mega binary) const MI: usize = 1024 * 1024;-/// Max key length for db_write (i.e. when VM reads from Wasm memory)+/// Max key length for db_write/db_read (i.e. when VM reads from or writes to Wasm memory)
/// Max key length for db_write/db_read/db_remove/db_scan (when VM reads the key argument from Wasm memory)
elfedy

comment created time in 12 days

push eventCosmWasm/cosmwasm

Simon Warta

commit sha 2678e973dcfd4ee99916fbf267332f2c58d06c4a

Add comment why zero is the correct return value

view details

Simon Warta

commit sha ea253664ca11fb11ba167ac18db1d48a5da0b902

Handle error case DecimalRangeExceeded

view details

push time in 13 days

issue commentCosmWasm/cosmwasm

Can we have `from_be_bytes` in Decimal?

Thank you for bringing this up. Plase have a look at #1095 for an API that allows you to export and import decimals as a pair (atomics, decimal_places). Setting decimal_places to 18 gives you exactly what you ask for but without the need to leak the internal data storage.

spectrum-lumiere

comment created time in 13 days

issue commentCosmWasm/cosmwasm

Allow Decimal to be built from it's primitive Uint128/Uint256

Thank you for bringing this up. Plase have a look at #1095 for an API that allows you to export and import decimals as a pair (atomics, decimal_places). Setting decimal_places to 18 gives you exactly what you ask for but without the need to leak the internal data storage.

elfedy

comment created time in 13 days

push eventCosmWasm/cosmwasm

Simon Warta

commit sha 4e94d126fcafda6d7a8aee6d60dd6f6b04ee7e60

Add getters atomics() and decimal_places()

view details

Simon Warta

commit sha 6e14d035df2338470add9b2384c262ea17bc432f

Add Uint128::checked_pow

view details

Simon Warta

commit sha 7b180aee08a08473a4f33c80b56df57a5957914d

Add Decimal::from_atomics

view details

push time in 13 days

PR opened CosmWasm/cosmwasm

Decimal: Add API for exporting and importing atomics

Closes #1094 Closes #1091

+235 -1

0 comment

4 changed files

pr created time in 13 days

create barnchCosmWasm/cosmwasm

branch : decimal-atomics-api

created branch time in 13 days

delete tag CosmWasm/cosmwasm

delete tag : v1.0.0-soon™

delete time in 14 days

created tagCosmWasm/cosmwasm

tagv1.0.0-soon

Library for building cosmos-compatible wasm smart contracts

created time in 14 days

created tagCosmWasm/cosmwasm

tagv1.0.0-soon™

Library for building cosmos-compatible wasm smart contracts

created time in 14 days

push eventCosmWasm/cosmwasm

Simon Warta

commit sha 62eca0382edc19f7d36397bc7ff8cae377b9a40b

Set version: 1.0.0-soon

view details

push time in 14 days

Pull request review commentCosmWasm/cosmwasm

Implement ops::Mul for Decimal

 impl Decimal {     const DECIMAL_FRACTIONAL: Uint128 = Uint128::new(1_000_000_000_000_000_000u128); // 1*10**18     const DECIMAL_FRACTIONAL_SQUARED: Uint128 =         Uint128::new(1_000_000_000_000_000_000_000_000_000_000_000_000u128); // (1*10**18)**2 = 1*10**36+    const DECIMAL_FRACTIONAL_UINT256: Uint256 = Uint256::from_be_bytes([

We can have a const Uint128 -> Uint256 converter. This just needs its own API as the Fram implementation cannot be done as const.

webmaster128

comment created time in 14 days

PullRequestReviewEvent

push eventCosmWasm/cosmwasm

Simon Warta

commit sha ebdb3c3c57754aafb0c4b6a3a60c0ae5e48f3aa7

Add transaction index to Env

view details

Simon Warta

commit sha e42379f3a51aface99b3b0c4964276012bca1569

Rebuild test contracts and adapt tests

view details

Simon Warta

commit sha 17976f128abf05b81f2d07170e8880c11f6aeb14

Merge pull request #1077 from CosmWasm/transaction_index Add transaction index to Env

view details

push time in 14 days

delete branch CosmWasm/cosmwasm

delete branch : transaction_index

delete time in 14 days

PR merged CosmWasm/cosmwasm

Reviewers
Add transaction index to Env

This came up in chat recently. With the transaction index we have a global tx identifier (block height, transaction index) that avoids exposing transaction hash.

Exposing block hash and transaction hash is not desired since people will use those for poor RNGs.

+32 -9

20 comments

9 changed files

webmaster128

pr closed time in 14 days

push eventCosmWasm/cosmwasm

Simon Warta

commit sha 0804a3acc301e83f51e4db9e918f811cf1c26147

Add missing stargate feature when running clippy on std

view details

Simon Warta

commit sha 2777c9f5bdef0b37a453e0936e326428c1ff8d68

Allow rule clippy::eq_op in test ibc_timeout_block_ord

view details

Simon Warta

commit sha c956348e9b9cf13400bda81cc6fb22e76c50767c

Merge pull request #1084 from CosmWasm/clippy-stargate CI: Add missing stargate feature when running clippy on std

view details

Simon Warta

commit sha 8436216646873296715442e80253c3edf5e07961

Make `CustomQuery` a subtrait of `Clone`

view details

Simon Warta

commit sha 5ec9b4ed8080bf5c0598898f60f1d099a54421fe

Make QuerierWrapper/Deps non-Copy

view details

Simon Warta

commit sha 2f6d4ff216b9dfb835a94929913d8a283915861d

Move custom query type to QuerierWrapper, Deps, DepsMut and OwnedDeps

view details

Simon Warta

commit sha a1c3690da00564f09f7f68d7b70ac3983ed93a73

Implement Copy for QuerierWrapper and Deps

view details

Simon Warta

commit sha f1578637fe03cbce6d481ec7371c42ac45bf75e4

Make Q: CustomQuery the first generic consistently

view details

Simon Warta

commit sha 0b03982254b9ef4af1964762ac6b41a4a5205cbc

Add CHANGELOG entry

view details

Simon Warta

commit sha 8a9646c9af9bb0cfdb4105d8074140015e773ef6

Move IBC exports to exports.rs

view details

Simon Warta

commit sha 9a85474169e2f9414c66d516e842690717c1a444

Increase coverage of local checking

view details

Simon Warta

commit sha 1e5be2c9dc91237b521b33a9f1b95322cc409b34

Add generic query type Q to IBC exports as well

view details

Tomasz Kurcz

commit sha 92cff2358c193985ab5274f1a0dadcd153bb6d9f

cosmwasm_vm: compile modules with extra middleware

view details

Simon Warta

commit sha 13b7715be7beb3e5323484a842b37b32eb637679

Merge pull request #1076 from CosmWasm/querier-magic Move generic type to QuerierWrapper and Deps

view details

Tomasz Kurcz

commit sha 93789ba983263f6f143a67e44b228a1ea163060f

cosmwasm_vm: Implement adding extra imports

view details

Tomasz Kurcz

commit sha 93297dd10bc7939246a38cdc307beffc34f1363a

Expose `Instance::from_module` via internals

view details

Tomasz Kurcz

commit sha d8cba612284fab87c9df987e7c77439e26cdfc84

Simply injected function imports

view details

Simon Warta

commit sha 6b57f9203d8b9ada46f96fd6d743dc9a04cd7be4

Merge pull request #1085 from CosmWasm/instance-enhancements Enable injecting extra fn imports and middlewares to cosmwasm_vm::Instance

view details

Simon Warta

commit sha 14da462e8032c067530ca46ab48b685366cfbd87

Update Fraction implementation to u128

view details

Simon Warta

commit sha 6867ac690b06f5945df96796dca31613fbb3186b

Merge pull request #1087 from CosmWasm/Uint128-fraction Update Fraction implementation in Decimal to Uint128

view details

push time in 14 days