I have written a command that exports the metadata at the CLI which /should/ duplicate the results of
However the output does not match the
state_getMetadata. For example, frequency does not currently use or import the XCM pallets.
state_getMetadata does NOT have any of the events from those pallets as expected. However, the metadata from the CLI DOES have those events.
This is because the command is can pull from the chain state.
How can I make sure that the
export_metadata_cmd.rs never creates or uses the data from prior state?
In effect I always want to run this cli command with