Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nt: trigger pr diff #6

Closed
wants to merge 3 commits into from
Closed

nt: trigger pr diff #6

wants to merge 3 commits into from

Conversation

loicttn
Copy link
Member

@loicttn loicttn commented Apr 29, 2024

No description provided.

src/contracts.c Show resolved Hide resolved
src/dbg/debug.h Show resolved Hide resolved
src/dbg/printf.c Show resolved Hide resolved
src/handle_init_contract.c Show resolved Hide resolved
src/handle_init_contract.c Show resolved Hide resolved
src/handle_init_contract.c Show resolved Hide resolved
import { parseEther, parseUnits } from "ethers/lib/utils";
import { ledgerService } from "@ledgerhq/hw-app-eth";

const contractAddr = "0xe8ff2a04837aac535199eecb5ece52b2735b3543";

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ this is not a known address

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was a testnet goerli contract, it matches b2c.json will edit for mainnet value only

import { parseEther, parseUnits } from "ethers/lib/utils";
import { ledgerService } from "@ledgerhq/hw-app-eth";

const contractAddr = "0xe8ff2a04837aac535199eecb5ece52b2735b3543";

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ this is not a known address

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was a testnet goerli contract, it matches b2c.json will edit for mainnet value only

import { parseEther, parseUnits } from 'ethers/lib/utils';
import { ledgerService } from '@ledgerhq/hw-app-eth';

const contractAddr = '0xe8ff2a04837aac535199eecb5ece52b2735b3543';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ this is not a known address

};
}

module.exports = {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

common-js exports with esm imports 🤔

startText: 'is ready',
};

const Resolve = require('path').resolve;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we do only esm here or is there a reason for this require ?

import { parseEther, parseUnits } from 'ethers/lib/utils';
import { ledgerService } from '@ledgerhq/hw-app-eth';

const contractAddr = '0x380c7e0ec45f5b62ae5a0a6d6a0b95b532e3dd9c';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ this is not a known contract address

import { parseEther } from 'ethers/lib/utils';
import { ledgerService } from '@ledgerhq/hw-app-eth';

const contractAddr = '0x380c7e0ec45f5b62ae5a0a6d6a0b95b532e3dd9c';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ this is not a known contract address

import { parseEther, parseUnits } from "ethers/lib/utils";
import { ledgerService } from "@ledgerhq/hw-app-eth";

const contractAddr = "0xe8ff2a04837aac535199eecb5ece52b2735b3543";

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ this is not a known contract address

import { parseEther } from 'ethers/lib/utils';
import { ledgerService } from '@ledgerhq/hw-app-eth';

const contractAddr = '0x380c7e0ec45f5b62ae5a0a6d6a0b95b532e3dd9c';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ this is not a known contract address

const contract = new ethers.Contract(contractAddr, abi);

const { data } = await contract.populateTransaction.undelegate(
'0x645a845f80576a25f1b412330a108780f6c4573d'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:fyi: this address is not an operator

const contract = new ethers.Contract(contractAddr, abi);

const { data } = await contract.populateTransaction.delegateTo(
'0x645a845f80576a25f1b412330a108780f6c4573d', // not kiln operator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:fyi: this address is not an operator

import { parseEther, parseUnits } from 'ethers/lib/utils';
import { ledgerService } from '@ledgerhq/hw-app-eth';

const contractAddr = '0xe8ff2a04837aac535199eecb5ece52b2735b3543';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ this is not a know address

import { parseEther, parseUnits } from 'ethers/lib/utils';
import { ledgerService } from '@ledgerhq/hw-app-eth';

const contractAddr = '0xe8ff2a04837aac535199eecb5ece52b2735b3543';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ this is not a know address

import { parseEther } from 'ethers/lib/utils';
import { ledgerService } from '@ledgerhq/hw-app-eth';

const contractAddr = '0xb0c8078af582d8b754ef35f3bdaceff8587bd914';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ this is not a know address

import { parseEther, parseUnits } from "ethers/lib/utils";
import { ledgerService } from "@ledgerhq/hw-app-eth";

const contractAddr = "0xe8ff2a04837aac535199eecb5ece52b2735b3543";

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ this is not a know address

import { parseEther, parseUnits } from 'ethers/lib/utils';
import { ledgerService } from '@ledgerhq/hw-app-eth';

const contractAddr = '0xe8ff2a04837aac535199eecb5ece52b2735b3543';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ this is not a know address

@loicttn loicttn closed this May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants