mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-11-08 11:51:12 +00:00
fix: addressed assembly text build mechanism (#9)
Use `build.assembly_text` for `--asm` output
This commit is contained in:
1 parent
95ff85c6d1
commit
169740eb5e
8 files changed
+44
-117
No files matched your search
@@ -278,11 +278,11 @@ where
|
||||
)
|
||||
})?;
|
||||
|
||||
let assembly_text = revive_linker::link(buffer.as_slice()).map(hex::encode)?;
|
||||
let encoded_hex_text = revive_linker::link(buffer.as_slice()).map(hex::encode)?;
|
||||
|
||||
let build = match crate::polkavm::build_assembly_text(
|
||||
contract_path,
|
||||
assembly_text.as_str(),
|
||||
encoded_hex_text.as_str(),
|
||||
metadata_hash,
|
||||
self.debug_config(),
|
||||
) {
|
||||
|
||||
Reference in new issue
Block a user