Skip to content

Commit 1a19ea8

Browse files
biome format
1 parent 0eaab37 commit 1a19ea8

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

packages/thirdweb/src/utils/encoding/helpers/role-bytes.test.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@ import { describe, expect, it } from "vitest";
22
import { roleBytes } from "./role-bytes.js";
33

44
describe("roleBytes", () => {
5-
it('should calculate the value of lister role', () => {
6-
expect(roleBytes("LISTER_ROLE"))
7-
.toBe(
8-
"0xf94103142c1baabe9ac2b5d1487bf783de9e69cfeea9a72f5c9c94afd7877b8c"
9-
);
5+
it("should calculate the value of lister role", () => {
6+
expect(roleBytes("LISTER_ROLE")).toBe(
7+
"0xf94103142c1baabe9ac2b5d1487bf783de9e69cfeea9a72f5c9c94afd7877b8c",
8+
);
109
});
1110
});

packages/thirdweb/src/utils/encoding/helpers/role-bytes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ import { toBytes } from "../to-bytes.js";
1111
*/
1212
export const roleBytes = (role: string): `0x${string}` => {
1313
return keccak256(toBytes(role));
14-
}
14+
};

0 commit comments

Comments
 (0)