Skip to content

Commit 6a12b4a

Browse files
authored
Merge pull request #263 from CosmWasm/upgrade-to-1.0.0-beta
Upgrade cosmwasm to 1.0.0-beta
2 parents a7503ff + 9f039dd commit 6a12b4a

File tree

9 files changed

+27
-27
lines changed

9 files changed

+27
-27
lines changed

api/lib_test.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ func TestGetMetrics(t *testing.T) {
208208
assert.Equal(t, &types.Metrics{
209209
HitsFsCache: 1,
210210
ElementsMemoryCache: 1,
211-
SizeMemoryCache: 5558358,
211+
SizeMemoryCache: 5558401,
212212
}, metrics)
213213

214214
// Instantiate 2
@@ -223,7 +223,7 @@ func TestGetMetrics(t *testing.T) {
223223
HitsMemoryCache: 1,
224224
HitsFsCache: 1,
225225
ElementsMemoryCache: 1,
226-
SizeMemoryCache: 5558358,
226+
SizeMemoryCache: 5558401,
227227
}, metrics)
228228

229229
// Pin
@@ -238,8 +238,8 @@ func TestGetMetrics(t *testing.T) {
238238
HitsFsCache: 1,
239239
ElementsPinnedMemoryCache: 1,
240240
ElementsMemoryCache: 1,
241-
SizePinnedMemoryCache: 5558358,
242-
SizeMemoryCache: 5558358,
241+
SizePinnedMemoryCache: 5558401,
242+
SizeMemoryCache: 5558401,
243243
}, metrics)
244244

245245
// Instantiate 3
@@ -256,8 +256,8 @@ func TestGetMetrics(t *testing.T) {
256256
HitsFsCache: 1,
257257
ElementsPinnedMemoryCache: 1,
258258
ElementsMemoryCache: 1,
259-
SizePinnedMemoryCache: 5558358,
260-
SizeMemoryCache: 5558358,
259+
SizePinnedMemoryCache: 5558401,
260+
SizeMemoryCache: 5558401,
261261
}, metrics)
262262

263263
// Unpin
@@ -274,7 +274,7 @@ func TestGetMetrics(t *testing.T) {
274274
ElementsPinnedMemoryCache: 0,
275275
ElementsMemoryCache: 1,
276276
SizePinnedMemoryCache: 0,
277-
SizeMemoryCache: 5558358,
277+
SizeMemoryCache: 5558401,
278278
}, metrics)
279279

280280
// Instantiate 4
@@ -292,7 +292,7 @@ func TestGetMetrics(t *testing.T) {
292292
ElementsPinnedMemoryCache: 0,
293293
ElementsMemoryCache: 1,
294294
SizePinnedMemoryCache: 0,
295-
SizeMemoryCache: 5558358,
295+
SizeMemoryCache: 5558401,
296296
}, metrics)
297297
}
298298

api/testdata/hackatom.wasm

12 Bytes
Binary file not shown.

api/testdata/ibc_reflect.wasm

0 Bytes
Binary file not shown.

api/testdata/queue.wasm

0 Bytes
Binary file not shown.

api/testdata/reflect.wasm

0 Bytes
Binary file not shown.

lib_test.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ func TestGetMetrics(t *testing.T) {
133133
assert.Equal(t, &types.Metrics{
134134
HitsFsCache: 1,
135135
ElementsMemoryCache: 1,
136-
SizeMemoryCache: 5558358,
136+
SizeMemoryCache: 5558401,
137137
}, metrics)
138138

139139
// Instantiate 2
@@ -149,7 +149,7 @@ func TestGetMetrics(t *testing.T) {
149149
HitsMemoryCache: 1,
150150
HitsFsCache: 1,
151151
ElementsMemoryCache: 1,
152-
SizeMemoryCache: 5558358,
152+
SizeMemoryCache: 5558401,
153153
}, metrics)
154154

155155
// Pin
@@ -164,8 +164,8 @@ func TestGetMetrics(t *testing.T) {
164164
HitsFsCache: 1,
165165
ElementsPinnedMemoryCache: 1,
166166
ElementsMemoryCache: 1,
167-
SizePinnedMemoryCache: 5558358,
168-
SizeMemoryCache: 5558358,
167+
SizePinnedMemoryCache: 5558401,
168+
SizeMemoryCache: 5558401,
169169
}, metrics)
170170

171171
// Instantiate 3
@@ -183,8 +183,8 @@ func TestGetMetrics(t *testing.T) {
183183
HitsFsCache: 1,
184184
ElementsPinnedMemoryCache: 1,
185185
ElementsMemoryCache: 1,
186-
SizePinnedMemoryCache: 5558358,
187-
SizeMemoryCache: 5558358,
186+
SizePinnedMemoryCache: 5558401,
187+
SizeMemoryCache: 5558401,
188188
}, metrics)
189189

190190
// Unpin
@@ -201,7 +201,7 @@ func TestGetMetrics(t *testing.T) {
201201
ElementsPinnedMemoryCache: 0,
202202
ElementsMemoryCache: 1,
203203
SizePinnedMemoryCache: 0,
204-
SizeMemoryCache: 5558358,
204+
SizeMemoryCache: 5558401,
205205
}, metrics)
206206

207207
// Instantiate 4
@@ -220,6 +220,6 @@ func TestGetMetrics(t *testing.T) {
220220
ElementsPinnedMemoryCache: 0,
221221
ElementsMemoryCache: 1,
222222
SizePinnedMemoryCache: 0,
223-
SizeMemoryCache: 5558358,
223+
SizeMemoryCache: 5558401,
224224
}, metrics)
225225
}

libwasmvm/Cargo.lock

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

libwasmvm/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ default = []
2626
backtraces = []
2727

2828
[dependencies]
29-
cosmwasm-std = { version = "=1.0.0-soon2", features = ["staking", "stargate", "iterator"] }
30-
cosmwasm-vm = { version = "=1.0.0-soon2", features = ["staking", "stargate", "iterator"] }
29+
cosmwasm-std = { version = "1.0.0-beta", features = ["staking", "stargate", "iterator"] }
30+
cosmwasm-vm = { version = "1.0.0-beta", features = ["staking", "stargate", "iterator"] }
3131
errno = "0.2"
3232
serde_json = "1.0"
3333
thiserror = "1.0"

libwasmvm/src/cache.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,7 @@ mod tests {
729729
misses: 0,
730730
elements_pinned_memory_cache: 1,
731731
elements_memory_cache: 0,
732-
size_pinned_memory_cache: 5531662,
732+
size_pinned_memory_cache: 5531705,
733733
size_memory_cache: 0,
734734
}
735735
);

0 commit comments

Comments
 (0)