...
mysql> use mysql_test;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> create table orders
-> (
-> order_id int not null auto_increment,
-> order_product char(50) not null,...
...对象绑定到锁的动态对象存储中
```rust
/// Lock `obj` and get a key that can be used to unlock it.
public fun lock(
obj: T,
ctx: &mut TxContext,
): (Locked, Key) {
let key = Key { id: object::new(ctx) };
let mut lock = Locked {
...
...定义 discriminator。
```
Step 1: using sha256 for string "global:vote" and you will get the result:
e36e9b17887eac197678a3a9928f2dfc8a1d553a698244524539ebb858a2b4d0
Step 2: Take the first 16 letters and convert hex to 8 bytes array
e36e9b17887eac19 => [227, 110, 155, 23, 136, 126, 172, ...