Skip to content

Commit

Permalink
For devnet-1 deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
RaulBernal committed Sep 25, 2024
1 parent 6e99a45 commit 8cee3b1
Show file tree
Hide file tree
Showing 5 changed files with 3,157 additions and 3,945 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
PORT=4200
PORT=3000
HOST='0.0.0.0'
2 changes: 1 addition & 1 deletion ecosystem.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module.exports = {
apps: [
{
name: 'WeedWallet3',
port: '4200',
port: '3000',
exec_mode: 'cluster',
instances: 'max',
script: './.output/server/index.mjs'
Expand Down
9 changes: 2 additions & 7 deletions pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -590,22 +590,17 @@ export default {
this.windowHeight = window.innerHeight
this.windowWidth = window.innerWidth;
})
let finalVar = 'query' // SDK v0.50 LCD Query for /txs
if(this.sdkVersion.substring(0,5) === 'v0.47') {
finalVar = 'events'
}
const resultSender = await axios(
cosmosConfig[this.store.chainSelected].apiURL +
"/cosmos/tx/v1beta1/txs?"+finalVar+"=message.sender=%27" +
"/cosmos/tx/v1beta1/txs?query=message.sender=%27" +
this.store.addrWallet +
"%27&limit=" +
cosmosConfig[this.store.chainSelected].maxTxSenderHome +
"&order_by=2"
);
const resultRecipient = await axios(
cosmosConfig[this.store.chainSelected].apiURL +
"/cosmos/tx/v1beta1/txs?"+finalVar+"=transfer.recipient=%27" +
"/cosmos/tx/v1beta1/txs?query=transfer.recipient=%27" +
this.store.addrWallet +
"%27&limit=" +
cosmosConfig[this.store.chainSelected].maxTxRecipientHome +
Expand Down
8 changes: 2 additions & 6 deletions pages/transactions/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -762,21 +762,17 @@ export default {
async beforeMount() {
//await this.$store.dispatch("keplr/checkLogin");
//await this.$store.dispatch("data/getAllValidators");
let finalVar = 'query' // SDK v0.50 LCD Query for /txs
if(this.sdkVersion.substring(0,5) === 'v0.47') {
finalVar = 'events'
}
const resultSender = await axios(
cosmosConfig[this.store.chainSelected].apiURL +
"/cosmos/tx/v1beta1/txs?"+finalVar+"=message.sender=%27" +
"/cosmos/tx/v1beta1/txs?query=message.sender=%27" +
this.store.addrWallet +
"%27&limit=" +
cosmosConfig[this.store.chainSelected].maxTxSender +
"&order_by=2"
);
const resultRecipient = await axios(
cosmosConfig[this.store.chainSelected].apiURL +
"/cosmos/tx/v1beta1/txs?"+finalVar+"=transfer.recipient=%27" +
"/cosmos/tx/v1beta1/txs?query=transfer.recipient=%27" +
this.store.addrWallet +
"%27&limit=" +
cosmosConfig[this.store.chainSelected].maxTxRecipient +
Expand Down
Loading

0 comments on commit 8cee3b1

Please sign in to comment.