Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: rename fileSelector to name #610

Merged
merged 2 commits into from
Apr 12, 2023
Merged

refactor: rename fileSelector to name #610

merged 2 commits into from
Apr 12, 2023

Conversation

alvrs
Copy link
Member

@alvrs alvrs commented Apr 11, 2023

  • Renames fileSelector to name
  • Context: in Proposal: Simplify World v2 Access Control #462 we switched to an access control mechanism based on "namespaces". Every resource that is registered in the World (tables, systems) is identified via a bytes32 resource selector, which consists of two parts: a bytes16 "namespace" and a bytes16 "fileSelector". This "fileSelector" is just the name of the resource within the namespace, and calling it "fileSelector" was very confusing for people, so in this PR we're changing it to "name".

@alvrs alvrs requested a review from holic as a code owner April 11, 2023 17:35
@alvrs alvrs requested a review from dk1a April 11, 2023 17:39
@alvrs alvrs changed the title refactor: rename fileSelector to name refactor: rename fileSelector to name Apr 11, 2023
@holic
Copy link
Member

holic commented Apr 11, 2023

looks like you need to run tsgen somewhere

nice to finally see that new build step fail, I don't love the lack of visibility on what failed from the steps run, so I'm gonna revert that "composite" change I made

@dk1a
Copy link
Member

dk1a commented Apr 11, 2023

if it's tsgen then you need to do yarn codegen in std-client (or just build, it's included there)

holic
holic previously approved these changes Apr 12, 2023
@holic holic merged commit 53df474 into main Apr 12, 2023
@holic holic deleted the alvrs/renamefileselector branch April 12, 2023 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants