-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: rebase main * feat: set rooch server start timeout 300s * feat: rebase main * feat: fix lint error * feat: debug session key * feat: ok for session account e2e * feat: fmt code * feat: add expirationTime and maxInactiveInterval of session account
- Loading branch information
Showing
14 changed files
with
368 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// Copyright (c) RoochNetwork | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
import { Serializer, Deserializer } from '../../generated/runtime/serde/mod' | ||
import { Seq, uint8 } from '../../generated/runtime/serde/mod' | ||
import { Helpers } from '../../generated/runtime/rooch_types/mod' | ||
|
||
export class MoveAsciiString { | ||
private bytes: Seq<uint8> | ||
|
||
constructor(bytes: Seq<uint8>) { | ||
this.bytes = bytes | ||
} | ||
|
||
public serialize(serializer: Serializer): void { | ||
Helpers.serializeVectorU8(this.bytes, serializer) | ||
} | ||
|
||
static deserialize(deserializer: Deserializer): MoveAsciiString { | ||
const bytes = Helpers.deserializeVectorU8(deserializer) | ||
return new MoveAsciiString(bytes) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// Copyright (c) RoochNetwork | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
import { Serializer, Deserializer } from '../../generated/runtime/serde/mod' | ||
import { Seq, uint8 } from '../../generated/runtime/serde/mod' | ||
import { Helpers } from '../../generated/runtime/rooch_types/mod' | ||
|
||
export class MoveString { | ||
private bytes: Seq<uint8> | ||
|
||
constructor(bytes: Seq<uint8>) { | ||
this.bytes = bytes | ||
} | ||
|
||
public serialize(serializer: Serializer): void { | ||
Helpers.serializeVectorU8(this.bytes, serializer) | ||
} | ||
|
||
static deserialize(deserializer: Deserializer): MoveString { | ||
const bytes = Helpers.deserializeVectorU8(deserializer) | ||
return new MoveString(bytes) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.