Comments (7)
came here to say the same thing :)
from dojo.
You're the 🐐 sir, thanks
from dojo.
@kariy rather then generating a random salt, lets have the user provide a world name
which we can hash to the salt. in some cases, the user will want to run migrate against an existing world, to install new components / systems for example
from dojo.
@kariy rather then generating a random salt, lets have the user provide a world
name
which we can hash to the salt.
perhaps it's better if we just have a --salt
option for sozo migrate
? name
doesn't seem very intuitive
from dojo.
@kariy rather then generating a random salt, lets have the user provide a world
name
which we can hash to the salt.perhaps it's better if we just have a
--salt
option forsozo migrate
?name
doesn't seem very intuitive
i like name
since it abstracts the underlying implementation detail and is easily communicated. i think it is more intuitive, since without a pretty deep understanding of deployments, it's not clear what salt
refers to. in the future, we can also use the name
as world metadata
for example, a developer might want to modify realms world:
sozo migrate --name realms
in the future, there might be names that dont fit into 31bytes, like
sozo migrate --name world_of_warcraft_burning_crusade
in which case, we need to hash it, so we're breaking the users expectations of how the salt will be used in that case and it makes sense to have our own concept
from dojo.
i like
name
since it abstracts the underlying implementation detail and is easily communicated. i think it is more intuitive, since without a pretty deep understanding of deployments, it's not clear what salt refers to.
make sense
in the future, we can also use the
name
as world metadata
aight
from dojo.
Resolves in #654
from dojo.
Related Issues (20)
- Sozo init should clone the correct version of starter template HOT 2
- ci: Github Action for `cargo-udeps` failed
- Torii client compile error when importing v1.0.0-alpha.3 release HOT 2
- feat(world): make fields as keys in events where possible HOT 2
- katana: expose db metrics
- Update sozo with latest account_sdk
- Sozo controller deployment flow
- Events annotated by `#[dojo::event]` are not annotated as event in ABI HOT 1
- Add error message or warning for migrations with `print`s HOT 6
- Expose `resources` map in world API HOT 5
- feat(sozo): require manual confirmation from user before sending transaction if any anomaly is detected HOT 8
- [torii] Benchmarks HOT 1
- [torii-core] `pending_block_tx_cursor` logic doesn't work as expected HOT 1
- ci: Github Action for `cargo-udeps` failed HOT 1
- testing: dump state and initialize katana from dumped state for test runner HOT 2
- [BUG] `sozo init` command no longer works as documented HOT 4
- katana: separate node services (ie block production, messaging) into their own tasks
- ci: Github Action for `cargo-udeps` failed
- feat: add a systems list in the contract manifest entry
- katana: put `katana` api under dev mode
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dojo.