Skip to content

Commit f109c44

Browse files
ericnordelogithub-actions[bot]
authored andcommitted
Bump openzeppelin_testing version to 6.1.0 and update docs
1 parent be6a666 commit f109c44

10 files changed

Lines changed: 13 additions & 11 deletions

Scarb.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ dependencies = [
150150

151151
[[package]]
152152
name = "openzeppelin_testing"
153-
version = "6.0.0"
153+
version = "6.1.0"
154154
dependencies = [
155155
"snforge_std",
156156
]

packages/testing/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ separate dependency in the Scarb.toml file:
1313

1414
```cairo
1515
[dev-dependencies]
16-
openzeppelin_testing = "6.0.0"
16+
openzeppelin_testing = "6.1.0"
1717
```
1818

1919
Then it can be imported into tests:
@@ -24,5 +24,5 @@ use openzeppelin_testing;
2424

2525
### API documentation
2626

27-
- [Index](https://github.com/OpenZeppelin/cairo-contracts/blob/openzeppelin_testing-v6.0.0/packages/testing/docs/openzeppelin_testing.md)
28-
- [Summary](https://github.com/OpenZeppelin/cairo-contracts/blob/openzeppelin_testing-v6.0.0/packages/testing/docs/SUMMARY.md)
27+
- [Index](https://github.com/OpenZeppelin/cairo-contracts/blob/openzeppelin_testing-v6.1.0/packages/testing/docs/openzeppelin_testing.md)
28+
- [Summary](https://github.com/OpenZeppelin/cairo-contracts/blob/openzeppelin_testing-v6.1.0/packages/testing/docs/SUMMARY.md)

packages/testing/Scarb.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "openzeppelin_testing"
3-
version = "6.0.0"
3+
version = "6.1.0"
44
readme = "README.md"
55
keywords = [
66
"openzeppelin",
@@ -13,7 +13,7 @@ cairo-version.workspace = true
1313
scarb-version.workspace = true
1414
authors.workspace = true
1515
description.workspace = true
16-
documentation = "https://github.com/openzeppelin/cairo-contracts/blob/openzeppelin_testing-v6.0.0/packages/testing/docs/openzeppelin_testing.md"
16+
documentation = "https://github.com/openzeppelin/cairo-contracts/blob/openzeppelin_testing-v6.1.0/packages/testing/docs/openzeppelin_testing.md"
1717
repository.workspace = true
1818
license-file.workspace = true
1919

packages/testing/docs/SUMMARY.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# Summary
2-
31
- [openzeppelin_testing](./openzeppelin_testing.md)
42
- [Modules](./openzeppelin_testing-modules.md)
53
- [common](./openzeppelin_testing-common.md)

packages/testing/docs/openzeppelin_testing-common-IntoBase16StringTrait.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ Fully qualified path: [openzeppelin_testing](./openzeppelin_testing.md)::[common
1010

1111
Fully qualified path: [openzeppelin_testing](./openzeppelin_testing.md)::[common](./openzeppelin_testing-common.md)::[IntoBase16StringTrait](./openzeppelin_testing-common-IntoBase16StringTrait.md)::[into_base_16_string](./openzeppelin_testing-common-IntoBase16StringTrait.md#into_base_16_string)
1212

13-
<pre><code class="language-cairo">fn into_base_16_string&lt;T, +Into&lt;T, felt252&gt;, T, +Into&lt;T, felt252&gt;&gt;(self: T) -&gt; ByteArray</code></pre>
13+
<pre><code class="language-cairo">fn into_base_16_string(self: T) -&gt; ByteArray</code></pre>
1414

1515

1616
### into_base_16_string_no_padding
1717

1818
Fully qualified path: [openzeppelin_testing](./openzeppelin_testing.md)::[common](./openzeppelin_testing-common.md)::[IntoBase16StringTrait](./openzeppelin_testing-common-IntoBase16StringTrait.md)::[into_base_16_string_no_padding](./openzeppelin_testing-common-IntoBase16StringTrait.md#into_base_16_string_no_padding)
1919

20-
<pre><code class="language-cairo">fn into_base_16_string_no_padding&lt;T, +Into&lt;T, felt252&gt;, T, +Into&lt;T, felt252&gt;&gt;(self: T) -&gt; ByteArray</code></pre>
20+
<pre><code class="language-cairo">fn into_base_16_string_no_padding(self: T) -&gt; ByteArray</code></pre>
2121

2222

packages/testing/docs/openzeppelin_testing-common-panic_data_to_byte_array.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# panic_data_to_byte_array
22

33
Converts panic data into a string (ByteArray).
4+
45
`panic_data` is expected to be a valid serialized byte array with an extra
56
felt252 at the beginning, which is the BYTE_ARRAY_MAGIC.
67

packages/testing/docs/openzeppelin_testing-constants-AsAddressImpl.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Fully qualified path: [openzeppelin_testing](./openzeppelin_testing.md)::[consta
99
### as_address
1010

1111
Converts a felt252 to a ContractAddress as a constant function.
12+
1213
Requirements:
1314
- `value` must be a valid contract address.
1415

packages/testing/docs/openzeppelin_testing-constants-AsAddressTrait.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Fully qualified path: [openzeppelin_testing](./openzeppelin_testing.md)::[consta
99
### as_address
1010

1111
Converts a felt252 to a ContractAddress as a constant function.
12+
1213
Requirements:
1314
- `value` must be a valid contract address.
1415

packages/testing/docs/openzeppelin_testing-events-ExpectedEvent.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
The `ExpectedEvent` trait provides a convenient API for constructing
44
expected events in tests.
5+
56
This implementation is generated by the `#[generate_trait]` macro and offers
67
three methods:
78
- `new()`: creates a fresh `Event` with empty `keys` and `data` arrays.

packages/testing/docs/openzeppelin_testing-signing-SerializedSigning.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ Fully qualified path: [openzeppelin_testing](./openzeppelin_testing.md)::[signin
1212

1313
Fully qualified path: [openzeppelin_testing](./openzeppelin_testing.md)::[signing](./openzeppelin_testing-signing.md)::[SerializedSigning](./openzeppelin_testing-signing-SerializedSigning.md)::[serialized_sign](./openzeppelin_testing-signing-SerializedSigning.md#serialized_sign)
1414

15-
<pre><code class="language-cairo">fn serialized_sign&lt;KP, M, KP, M&gt;(self: KP, msg: M) -&gt; Array&lt;felt252&gt;</code></pre>
15+
<pre><code class="language-cairo">fn serialized_sign(self: KP, msg: M) -&gt; Array&lt;felt252&gt;</code></pre>
1616

1717

0 commit comments

Comments
 (0)