- Initial stable release
- Initial stable release
- Stable release
- Stable release
- The custom consoles and error constructors are now private.
- Non-persistent devnets are now properly deleted on uncaught exceptions.
- The base error class was renamed from
AgentError
back toFadromaError
.
Deployment
's methods are now defined with arrow syntax. This enables things likeconst { contract, template } = new Deployment({ agent })
for deploying contracts in an imperative style.
- Resolved a nasty circular dependency during project creation.
- The project manifest is now
fadroma.yml
instead offadroma.json
. If you created your project with an earlier version, just rename that file - as YAML is a superset of JSON, things should just work. - Devnet API and implementation overhaul:
- Removed crufty
devnet.spawn
,devnet.respawn
anddevnet.kill
methods. - Replaced them with clear
create
/delete
,start
/stop
,load
/save
. - Renamed devnet's
persistent
andephemeral
flags tokeepRuning
anddeleteOnExit
. - Replaced
devnet.container
anddevnet.image
with getters based ondevnet.containerId
anddevnet.imageTag
- The above should prevent orphaned devnet containers.
- Removed crufty
- Removed
deployment.config
Chain.variants.ScrtDevnet(options)
now takesDevnet
options and notScrt.Chain
optionsProjectWizard
is not exported anymore.
- Enabled
fadroma rebuild
command. - Enabled
fadroma reupload
command. - Contracts created by project wizard now depend on fadroma
^0.8
instead of Git dependency.
- Devnet support for Secret Network 1.9
- Don't reupload if code ID is present.
- Don't always reupload if running on mocknet.
- Removed
DevnetConfig
as its purpose is fulfilled byPartial<Devnet>
. - Removed
Devnet.getOrCreate
, moved that logic intoDevnet
constructor. devnet.stateDir
is nowstring
, no more separatedevnet.identities
dir reference.config.workspace
is nowconfig.build.workspace
.- Removed
BuildConfig
,UploadConfig
,DeployConfig
in favor of anonymous objects defined in-place duringConfig
construction. project.resetDevnet
->project.resetDevnets
now killsstate/*/devnet.json
.config.getDevnet(platform)
->config.getDevnet({ platform, ... })
.fadroma-state.ts
->fadroma-deploy.ts
.
- Support for temporary devnets with random names.
- Project generates
test
commands andtes.ts
test index. config.license
,config.root
as separate fromconfig.project
.- Example
FactoryDeployment
. - Document
Snip20
,Snip721
,ViewingKeyClient
, clients. - Update documentation for how deployments work.
- Names of build and devnet containers were not assigned.
- Overhaul of how devnets are stored and cleaned up.
- Don't fail container builds in CI on tagged releases.
- Test suites now run in sequence, not in parallel.
- Getting started link in readme.
- Keep receipts by default - don't gitignore known chain ids in
state
.
- Removed
AgentOpts
as its purpose is served byPartial<Agent>
. FadromaError
->AgentError
, removedCantInit
errors.FadromaConsole
->AgentConsole
.- Mocknet:
Ptr
->Pointer
,Memory
->Allocator
,pass
->passJson
.
- Added
chain.stopped
flag. - Added
randomChainId
helper with defaultfadroma-devnet-
prefix. - Added
fee.add
for building multi-token fees. - Added
deployment.snapshot
. - Added
Instantiated["initGas"]
andUploaded["uploadGas"]
. - Implemented
ed25519_sign/verify
,secp256k1_sign/verify
in mocknet. - Added base
Token
,TokenFungible
andTokenNonFungible
classes. - Added
NativeToken
,CustomToken
,Pair
,Amount
,Swap
classes.
- Fixed ICC message passing in mocknet.
- Waiting for next block doesn't crash after closing devnet.
Deployments
now correctly hydrates contracts passed to its constructor.- Name of
Contract
instance is now displayed in string tag.
- Removed
ScrtAgentOpts
as its purpose is served byPartial<ScrtAgent>
. scrtAgent.simulate
->scrtAgent.simulateForGas
to clarify purpose.- Moved
Token
, etc. types listed above into@fadroma/agent
.
- Gas consumed by uploads and inits is now reported to the console.