diff --git a/src/components/WasmVerification.vue b/src/components/WasmVerification.vue
index 10eed6ac..d9335067 100644
--- a/src/components/WasmVerification.vue
+++ b/src/components/WasmVerification.vue
@@ -23,9 +23,9 @@ console.log("contract:", props.contract)
onMounted(() => {
- console.log("mounted", `${baseurl}/deploy-histories/neutron-1?contract=${props.contract}`, chainId.value)
- get(`${baseurl}/deploy-histories/${chainId.value}?contract=${props.contract}`).then((x) => {
- console.log("x:", x)
+ // console.log("mounted", `${baseurl}/deploy-histories/neutron?contract=${props.contract}`, chainId.value)
+ get(`${baseurl}/deploy-histories/neutron?contract=${props.contract}`).then((x) => {
+ console.log("verification:", x)
verification.value = x
}).catch(e => {
console.error(e)
@@ -36,17 +36,22 @@ function verify() {
const base = useBaseStore()
const id = base.latest?.block?.header?.chain_id || "unknown"
- const data = {"contractAddress": props.contract, "chainId": "neutron"}
- console.log(data)
+ const data = {"contractAddress": props.contract, "chainId": id}
+
post(`${baseurl}/verification/neutron`, data).then((x)=> {
- console.log("x", x)
+ verification.value = x.result
})
}
Verification {{ chainId }}
+ Verification